aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/eeprom.c')
-rw-r--r--drivers/i2c/chips/eeprom.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/i2c/chips/eeprom.c b/drivers/i2c/chips/eeprom.c
index 9bb1f8b3f38c..d0c9f291500b 100644
--- a/drivers/i2c/chips/eeprom.c
+++ b/drivers/i2c/chips/eeprom.c
@@ -68,8 +68,10 @@ static int eeprom_detach_client(struct i2c_client *client);
68 68
69/* This is the driver that will be inserted */ 69/* This is the driver that will be inserted */
70static struct i2c_driver eeprom_driver = { 70static struct i2c_driver eeprom_driver = {
71 .owner = THIS_MODULE, 71 .driver = {
72 .name = "eeprom", 72 .owner = THIS_MODULE,
73 .name = "eeprom",
74 },
73 .id = I2C_DRIVERID_EEPROM, 75 .id = I2C_DRIVERID_EEPROM,
74 .attach_adapter = eeprom_attach_adapter, 76 .attach_adapter = eeprom_attach_adapter,
75 .detach_client = eeprom_detach_client, 77 .detach_client = eeprom_detach_client,