X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fhwmon%2Flm83.c;h=8290476aee4ab981d6f918fb92d6b2940d4e4a65;hb=8ba406be53713efdd705666e2178cfe486fcfb27;hp=bfb7477cb6b37bba6e01614b381256d3ec347c86;hpb=310ec79210d754afe51e2e4a983e846b60179abd;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c index bfb7477..8290476 100644 --- a/drivers/hwmon/lm83.c +++ b/drivers/hwmon/lm83.c @@ -51,11 +51,7 @@ static const unsigned short normal_i2c[] = { 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e, I2C_CLIENT_END }; -/* - * Insmod parameters - */ - -I2C_CLIENT_INSMOD_2(lm83, lm82); +enum chips { lm83, lm82 }; /* * The LM83 registers @@ -145,7 +141,7 @@ static struct i2c_driver lm83_driver = { .remove = lm83_remove, .id_table = lm83_id, .detect = lm83_detect, - .address_data = &addr_data, + .address_list = normal_i2c, }; /*