This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / i2c / chips / eeprom.c
index 94c8698..44a17f6 100644 (file)
 #include <linux/i2c-sensor.h>
 
 /* Addresses to scan */
-static unsigned short normal_i2c[] = { 0x50, 0x51, 0x52, 0x53, 0x54,
-                                       0x55, 0x56, 0x57, I2C_CLIENT_END };
+static unsigned short normal_i2c[] = { I2C_CLIENT_END };
+static unsigned short normal_i2c_range[] = { 0x50, 0x57, I2C_CLIENT_END };
 static unsigned int normal_isa[] = { I2C_CLIENT_ISA_END };
+static unsigned int normal_isa_range[] = { I2C_CLIENT_ISA_END };
 
 /* Insmod parameters */
 SENSORS_INSMOD_1(eeprom);
@@ -85,7 +86,7 @@ static struct i2c_driver eeprom_driver = {
        .detach_client  = eeprom_detach_client,
 };
 
-static int eeprom_id;
+static int eeprom_id = 0;
 
 static void eeprom_update_client(struct i2c_client *client, u8 slice)
 {