From 289f932c5ff628bf21a05073243071a01a2d3b02 Mon Sep 17 00:00:00 2001 From: wdenk Date: Wed, 12 Jan 2005 00:15:14 +0000 Subject: * Some Cleanup. * Patch by Richard Woodruff, 10 Jan 2005: Update support for OMAP2420 (ARM11) and H4 board: o clean up and add new types to H4 memory probe code. o fix to work with internal boot. o added PRCM config III operation. o fix marginal flash timings. o add revison ATAG usage. o enable voltage scaling at power chip. o fix compile error for i2c. * Fix network problem (error when receiving multiple ARP packets) --- drivers/omap24xx_i2c.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/omap24xx_i2c.c') diff --git a/drivers/omap24xx_i2c.c b/drivers/omap24xx_i2c.c index b64e713ef..383dfcbb6 100644 --- a/drivers/omap24xx_i2c.c +++ b/drivers/omap24xx_i2c.c @@ -21,14 +21,15 @@ */ #include + +#ifdef CONFIG_DRIVER_OMAP24XX_I2C + #include #include #define inw(a) __raw_readw(a) #define outw(a,v) __raw_writew(a,v) -#ifdef CONFIG_DRIVER_OMAP24XX_I2C - static void wait_for_bb (void); static u16 wait_for_pin (void); void flush_fifo(void); -- cgit v1.2.3-70-g09d2