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:
3ee07d8
)
rk3066b: disable tsadc device register
author
黄涛
<huangtao@rock-chips.com>
Mon, 27 Aug 2012 11:40:37 +0000
(19:40 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 27 Aug 2012 11:40:37 +0000
(19:40 +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 b528a9498b9a1ca3991366e3e513a94f89e0aac8..f24f6e7e137a30e4c6dff5a400be39d8c3db8294 100755
(executable)
--- a/
arch/arm/mach-rk30/devices.c
+++ b/
arch/arm/mach-rk30/devices.c
@@
-51,7
+51,7
@@
struct platform_device device_adc = {
};
#endif
-#if
def CONFIG_ARCH_RK30
+#if
!defined(CONFIG_ARCH_RK3066B)
static struct resource rk30_tsadc_resource[] = {
{
.start = IRQ_TSADC,
@@
-1360,7
+1360,7
@@
static int __init rk30_init_devices(void)
#ifdef CONFIG_ADC_RK30
platform_device_register(&device_adc);
#endif
-#if
def CONFIG_ARCH_RK30
+#if
!defined(CONFIG_ARCH_RK3066B)
platform_device_register(&device_tsadc);
#endif
rk30_init_sdmmc();