diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-i801.c')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 709beab76609..588583530c9f 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c | |||
@@ -110,6 +110,7 @@ static int i801_block_transaction(union i2c_smbus_data *data, | |||
110 | char read_write, int command); | 110 | char read_write, int command); |
111 | 111 | ||
112 | static unsigned short i801_smba; | 112 | static unsigned short i801_smba; |
113 | static struct pci_driver i801_driver; | ||
113 | static struct pci_dev *I801_dev; | 114 | static struct pci_dev *I801_dev; |
114 | static int isich4; | 115 | static int isich4; |
115 | 116 | ||
@@ -143,7 +144,7 @@ static int i801_setup(struct pci_dev *dev) | |||
143 | } | 144 | } |
144 | } | 145 | } |
145 | 146 | ||
146 | if (!request_region(i801_smba, (isich4 ? 16 : 8), "i801-smbus")) { | 147 | if (!request_region(i801_smba, (isich4 ? 16 : 8), i801_driver.name)) { |
147 | dev_err(&dev->dev, "I801_smb region 0x%x already in use!\n", | 148 | dev_err(&dev->dev, "I801_smb region 0x%x already in use!\n", |
148 | i801_smba); | 149 | i801_smba); |
149 | error_return = -EBUSY; | 150 | error_return = -EBUSY; |
@@ -543,7 +544,6 @@ static struct i2c_adapter i801_adapter = { | |||
543 | .owner = THIS_MODULE, | 544 | .owner = THIS_MODULE, |
544 | .class = I2C_CLASS_HWMON, | 545 | .class = I2C_CLASS_HWMON, |
545 | .algo = &smbus_algorithm, | 546 | .algo = &smbus_algorithm, |
546 | .name = "unset", | ||
547 | }; | 547 | }; |
548 | 548 | ||
549 | static struct pci_device_id i801_ids[] = { | 549 | static struct pci_device_id i801_ids[] = { |