From 50fca3974c297bc70661de208e51bdb2b5e23ceb Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 14 Jan 2013 16:06:04 +0800 Subject: [PATCH] rk30: devices.c: fix gcc error on fpga: implicit declaration of function 'rk30_init_i2c' --- arch/arm/mach-rk30/devices.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-rk30/devices.c b/arch/arm/mach-rk30/devices.c index 63658836ebe0..a3b278882629 100755 --- a/arch/arm/mach-rk30/devices.c +++ b/arch/arm/mach-rk30/devices.c @@ -372,9 +372,6 @@ static void __init rk30_init_uart(void) #endif } -// i2c -#ifdef CONFIG_I2C_RK30 - #ifdef CONFIG_I2C0_CONTROLLER_RK29 #define I2C0_ADAP_TYPE I2C_RK29_ADAP #define I2C0_START RK30_I2C0_PHYS @@ -635,8 +632,6 @@ static void __init rk30_init_i2c(void) #endif } -#endif//end of i2c - #if defined(CONFIG_SPIM0_RK29) || defined(CONFIG_SPIM1_RK29) /***************************************************************************************** * spi devices -- 2.34.1