diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-sis96x.c')
-rw-r--r-- | drivers/i2c/busses/i2c-sis96x.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-sis96x.c b/drivers/i2c/busses/i2c-sis96x.c index 413e9e477723..848b37c97f7f 100644 --- a/drivers/i2c/busses/i2c-sis96x.c +++ b/drivers/i2c/busses/i2c-sis96x.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <linux/ioport.h> | 40 | #include <linux/ioport.h> |
41 | #include <linux/i2c.h> | 41 | #include <linux/i2c.h> |
42 | #include <linux/init.h> | 42 | #include <linux/init.h> |
43 | #include <linux/acpi.h> | ||
43 | #include <asm/io.h> | 44 | #include <asm/io.h> |
44 | 45 | ||
45 | /* base address register in PCI config space */ | 46 | /* base address register in PCI config space */ |
@@ -281,6 +282,10 @@ static int __devinit sis96x_probe(struct pci_dev *dev, | |||
281 | dev_info(&dev->dev, "SiS96x SMBus base address: 0x%04x\n", | 282 | dev_info(&dev->dev, "SiS96x SMBus base address: 0x%04x\n", |
282 | sis96x_smbus_base); | 283 | sis96x_smbus_base); |
283 | 284 | ||
285 | retval = acpi_check_resource_conflict(&dev->resource[SIS96x_BAR]); | ||
286 | if (retval) | ||
287 | return retval; | ||
288 | |||
284 | /* Everything is happy, let's grab the memory and set things up. */ | 289 | /* Everything is happy, let's grab the memory and set things up. */ |
285 | if (!request_region(sis96x_smbus_base, SMB_IOSIZE, | 290 | if (!request_region(sis96x_smbus_base, SMB_IOSIZE, |
286 | sis96x_driver.name)) { | 291 | sis96x_driver.name)) { |