diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-10 14:41:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-10 14:41:25 -0700 |
commit | 5d9adefc1e7218d060a88416943dd18e86c3c975 (patch) | |
tree | 0a25af1fccf390e4be11d8a3c00b4179893f7430 /drivers/hwmon/lm78.c | |
parent | 1e3cbe4c274b2794fd2888f2c71ea97c9b5f9519 (diff) | |
parent | 15bde2f1a8e819213f54314505a5a0509673109b (diff) |
Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6
* 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6:
hwmon: End of I/O region off-by-one
Diffstat (limited to 'drivers/hwmon/lm78.c')
-rw-r--r-- | drivers/hwmon/lm78.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 565c4e679b8..6eea3476b90 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c @@ -882,7 +882,7 @@ static int __init lm78_isa_device_add(unsigned short address) { struct resource res = { .start = address, - .end = address + LM78_EXTENT, + .end = address + LM78_EXTENT - 1, .name = "lm78", .flags = IORESOURCE_IO, }; |