diff options
author | Wolfgang Denk | 2008-07-11 01:16:00 +0200 |
---|---|---|
committer | Wolfgang Denk | 2008-07-11 01:16:00 +0200 |
commit | 9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch) | |
tree | 56a8a946f45094770f1f4b3e10b2344191c6c40c /board/ads5121 | |
parent | 4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff) |
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/ads5121')
-rw-r--r-- | board/ads5121/ads5121.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/ads5121/ads5121.c b/board/ads5121/ads5121.c index de59991d2a4..d5cee64bde5 100644 --- a/board/ads5121/ads5121.c +++ b/board/ads5121/ads5121.c @@ -29,6 +29,8 @@ #ifdef CONFIG_MISC_INIT_R #include <i2c.h> #endif +#include "iopin.h" /* for iopin_initialize() prototype */ + /* Clocks in use */ #define SCCR1_CLOCKS_EN (CLOCK_SCCR1_CFG_EN | \ CLOCK_SCCR1_LPC_EN | \ @@ -52,8 +54,7 @@ long int fixed_sdram(void); int board_early_init_f (void) { volatile immap_t *im = (immap_t *) CFG_IMMR; - u32 lpcaw, tmp32; - int i; + u32 lpcaw; /* * Initialize Local Window for the CPLD registers access (CS2 selects @@ -206,6 +207,7 @@ long int fixed_sdram (void) int misc_init_r(void) { u8 tmp_val; + extern int ads5121_diu_init(void); /* Using this for DIU init before the driver in linux takes over * Enable the TFP410 Encoder (I2C address 0x38) |