summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2007-10-19 00:09:05 +0200
committerWolfgang Denk <wd@denx.de>2007-10-23 16:44:04 +0200
commit58b74b05c621e2835ecf4e2d3243042cf4186777 (patch)
tree95122f0fdb5d4eece5c61bdb503db07504de92e6 /drivers
parent96455bfebc9887837095c9051d216f53c61b5f10 (diff)
downloadu-boot-imx-58b74b05c621e2835ecf4e2d3243042cf4186777.zip
u-boot-imx-58b74b05c621e2835ecf4e2d3243042cf4186777.tar.gz
u-boot-imx-58b74b05c621e2835ecf4e2d3243042cf4186777.tar.bz2
Fix missing drivers makefile entries ds1722.c mw_eeprom.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers')
-rwxr-xr-xdrivers/Makefile3
-rw-r--r--drivers/ds1722.c4
-rw-r--r--drivers/mw_eeprom.c4
3 files changed, 6 insertions, 5 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 6bf05cc..aba64f5 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -54,7 +54,8 @@ COBJS = 3c589.o 5701rls.o ali512x.o at45.o ata_piix.o atmel_usart.o \
ks8695eth.o \
pxa_pcmcia.o mpc8xx_pcmcia.o tqm8xx_pcmcia.o \
rpx_pcmcia.o \
- fsl_i2c.o fsl_pci_init.o ati_radeon_fb.o
+ fsl_i2c.o fsl_pci_init.o ati_radeon_fb.o \
+ ds1722.o mw_eeprom.o
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
diff --git a/drivers/ds1722.c b/drivers/ds1722.c
index 227d816..c19ee01 100644
--- a/drivers/ds1722.c
+++ b/drivers/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);
diff --git a/drivers/mw_eeprom.c b/drivers/mw_eeprom.c
index 2a1f489..2b33488 100644
--- a/drivers/mw_eeprom.c
+++ b/drivers/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
*/