projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557f8ce
)
rk30: devices.c: fix gcc error on fpga: implicit declaration of function 'rk30_init_i2c'
author
黄涛
<huangtao@rock-chips.com>
Mon, 14 Jan 2013 08:06:04 +0000
(16:06 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 14 Jan 2013 08:06:04 +0000
(16:06 +0800)
arch/arm/mach-rk30/devices.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/devices.c
b/arch/arm/mach-rk30/devices.c
index 63658836ebe09bad3a60147e75766b9cc1796ed3..a3b278882629bc5b4c0f08b30758a45716b9489b 100755
(executable)
--- 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