projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d5c1fd
)
ARM: S5PV210: Fixup ADC device change
author
Ben Dooks
<ben-linux@fluff.org>
Thu, 20 May 2010 11:51:03 +0000
(20:51 +0900)
committer
Ben Dooks
<ben-linux@fluff.org>
Thu, 20 May 2010 11:51:03 +0000
(20:51 +0900)
Ensure the ADC device is touched only if S3C_DEV_ADC
is selected.
Fixes:
arch/arm/mach-s5pv210/built-in.o: In function `s5pv210_map_io':
/home/kgene/bjdooks/arch/arm/mach-s5pv210/cpu.c:92: undefined reference to `s3c_device_adc'
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s5pv210/cpu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-s5pv210/cpu.c
b/arch/arm/mach-s5pv210/cpu.c
index 76084d85fd21b03753c1969f712cc9ceab9cd665..411a4a9cbfc79df156338febc880dbbb1b18737a 100644
(file)
--- a/
arch/arm/mach-s5pv210/cpu.c
+++ b/
arch/arm/mach-s5pv210/cpu.c
@@
-76,7
+76,9
@@
static void s5pv210_idle(void)
void __init s5pv210_map_io(void)
{
+#ifdef CONFIG_S3C_DEV_ADC
s3c_device_adc.name = "s3c64xx-adc";
+#endif
iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc));