]> git.sur5r.net Git - u-boot/commitdiff
Remove CFG_EEPROM_PAGE* dependencies for temperature sensors
authorPeter Tyser <ptyser@xes-inc.com>
Tue, 23 Sep 2008 17:38:42 +0000 (12:38 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 14 Oct 2008 12:39:56 +0000 (14:39 +0200)
The checks for CFG_EEPROM_PAGE_WRITE_ENABLE and
CFG_EEPROM_PAGE_WRITE_BITS in various temperature
sensor drivers are not necessary

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
drivers/hwmon/ds1621.c
drivers/hwmon/lm75.c
drivers/hwmon/lm81.c

index 749aa2691b289d5605708f9940ff92dcb1cf60d5..523f8bee514eca70d88388169f77e6d9c03074d6 100644 (file)
  */
 
 #include <common.h>
-
-#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
-       (CFG_EEPROM_PAGE_WRITE_BITS < 1)
-# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_DS1621"
-#endif
 #include <i2c.h>
 #include <dtt.h>
 
index 67a18f68d62b88141daf7036ce507d07a1bb17cb..6770cdd13807f0529a7b8078dabff90fe5f6baf1 100644 (file)
  */
 
 #include <common.h>
-
-#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
-       (CFG_EEPROM_PAGE_WRITE_BITS < 1)
-# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than  1 to use CONFIG_DTT_LM75"
-#endif
-
 #include <i2c.h>
 #include <dtt.h>
 
index 9349eb6ff685e71f1b341a4b44cb1db13a32bd53..668ee9fb090aa250cf35c09e136f9659a3a16b83 100644 (file)
  */
 
 #include <common.h>
-
-#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
-       (CFG_EEPROM_PAGE_WRITE_BITS < 1)
-# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than  1 to use CONFIG_DTT_LM81"
-#endif
-
 #include <i2c.h>
 #include <dtt.h>