aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/pcf8591.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/pcf8591.c')
-rw-r--r--drivers/i2c/chips/pcf8591.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/i2c/chips/pcf8591.c b/drivers/i2c/chips/pcf8591.c
index 8750f71278e1..8f41bb3a771c 100644
--- a/drivers/i2c/chips/pcf8591.c
+++ b/drivers/i2c/chips/pcf8591.c
@@ -88,8 +88,10 @@ static int pcf8591_read_channel(struct device *dev, int channel);
88 88
89/* This is the driver that will be inserted */ 89/* This is the driver that will be inserted */
90static struct i2c_driver pcf8591_driver = { 90static struct i2c_driver pcf8591_driver = {
91 .owner = THIS_MODULE, 91 .driver = {
92 .name = "pcf8591", 92 .owner = THIS_MODULE,
93 .name = "pcf8591",
94 },
93 .id = I2C_DRIVERID_PCF8591, 95 .id = I2C_DRIVERID_PCF8591,
94 .attach_adapter = pcf8591_attach_adapter, 96 .attach_adapter = pcf8591_attach_adapter,
95 .detach_client = pcf8591_detach_client, 97 .detach_client = pcf8591_detach_client,