diff options
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 565c4e679b8d..6eea3476b90c 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) | |||
882 | { | 882 | { |
883 | struct resource res = { | 883 | struct resource res = { |
884 | .start = address, | 884 | .start = address, |
885 | .end = address + LM78_EXTENT, | 885 | .end = address + LM78_EXTENT - 1, |
886 | .name = "lm78", | 886 | .name = "lm78", |
887 | .flags = IORESOURCE_IO, | 887 | .flags = IORESOURCE_IO, |
888 | }; | 888 | }; |