diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-sis630.c')
-rw-r--r-- | drivers/i2c/busses/i2c-sis630.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-sis630.c b/drivers/i2c/busses/i2c-sis630.c index eb2b2181fed7..72c29a650b22 100644 --- a/drivers/i2c/busses/i2c-sis630.c +++ b/drivers/i2c/busses/i2c-sis630.c | |||
@@ -55,6 +55,7 @@ | |||
55 | #include <linux/ioport.h> | 55 | #include <linux/ioport.h> |
56 | #include <linux/init.h> | 56 | #include <linux/init.h> |
57 | #include <linux/i2c.h> | 57 | #include <linux/i2c.h> |
58 | #include <linux/acpi.h> | ||
58 | #include <asm/io.h> | 59 | #include <asm/io.h> |
59 | 60 | ||
60 | /* SIS630 SMBus registers */ | 61 | /* SIS630 SMBus registers */ |
@@ -437,6 +438,11 @@ static int sis630_setup(struct pci_dev *sis630_dev) | |||
437 | 438 | ||
438 | dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04x\n", acpi_base); | 439 | dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04x\n", acpi_base); |
439 | 440 | ||
441 | retval = acpi_check_region(acpi_base + SMB_STS, SIS630_SMB_IOREGION, | ||
442 | sis630_driver.name); | ||
443 | if (retval) | ||
444 | goto exit; | ||
445 | |||
440 | /* Everything is happy, let's grab the memory and set things up. */ | 446 | /* Everything is happy, let's grab the memory and set things up. */ |
441 | if (!request_region(acpi_base + SMB_STS, SIS630_SMB_IOREGION, | 447 | if (!request_region(acpi_base + SMB_STS, SIS630_SMB_IOREGION, |
442 | sis630_driver.name)) { | 448 | sis630_driver.name)) { |