aboutsummaryrefslogtreecommitdiff
path: root/drivers/omap24xx_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/omap24xx_i2c.c')
-rw-r--r--drivers/omap24xx_i2c.c5
1 files changed, 3 insertions, 2 deletions
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 <common.h>
+
+#ifdef CONFIG_DRIVER_OMAP24XX_I2C
+
#include <asm/arch/i2c.h>
#include <asm/io.h>
#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);