Changeset 4652
- Timestamp:
- 08/11/07 19:22:20 (1 year ago)
- Files:
-
- lm-sensors/trunk/kernel/chips/eeprom.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/kernel/chips/eeprom.c
r3156 r4652 70 70 unsigned short flags, int kind); 71 71 static int eeprom_detach_client(struct i2c_client *client); 72 73 #if 074 static int eeprom_write_value(struct i2c_client *client, u8 reg,75 u8 value);76 #endif77 72 78 73 static void eeprom_contents(struct i2c_client *client, int operation, … … 254 249 return 0; 255 250 } 256 257 258 #if 0259 /* No writes yet (PAE) */260 static int eeprom_write_value(struct i2c_client *client, u8 reg, u8 value)261 {262 return i2c_smbus_write_byte_data(client, reg, value);263 }264 #endif265 251 266 252 static void eeprom_update_client(struct i2c_client *client, u8 slice) … … 343 329 #endif 344 330 *nrels_mag = 16; 345 } else if (operation == SENSORS_PROC_REAL_WRITE) {346 347 /* No writes to the EEPROM (yet, anyway) (PAE) */348 printk("eeprom.o: No writes to EEPROMs supported!\n");349 331 } 350 332 }
