
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com --- drivers/eeprom/mw_eeprom.c | 4 ++-- drivers/hwmon/ds1722.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/eeprom/mw_eeprom.c b/drivers/eeprom/mw_eeprom.c index 2a1f489..2b33488 100644 --- a/drivers/eeprom/mw_eeprom.c +++ b/drivers/eeprom/mw_eeprom.c @@ -1,11 +1,11 @@ /* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */
#include <common.h> -#include <ssi.h> -
#ifdef CONFIG_MW_EEPROM
+#include <ssi.h> + /* * Serial EEPROM opcodes, including start bit */ diff --git a/drivers/hwmon/ds1722.c b/drivers/hwmon/ds1722.c index 227d816..c19ee01 100644 --- a/drivers/hwmon/ds1722.c +++ b/drivers/hwmon/ds1722.c @@ -1,10 +1,10 @@
#include <common.h>
-#include <ssi.h> - #ifdef CONFIG_DS1722
+#include <ssi.h> + static void ds1722_select(int dev) { ssi_set_interface(4096, 0, 0, 0);