aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-05-20 07:51:03 -0400
committerBen Dooks <ben-linux@fluff.org>2010-05-20 07:51:03 -0400
commitdd1ef1a2a1b91c5bf1d6f45d0a0eaf9233e3570c (patch)
tree5e3ec0e54e17dbf58bddc8ea4ea3fe9f19699d96
parent3d5c1fdcaa7d3d414ce5928601b9578b80441a90 (diff)
ARM: S5PV210: Fixup ADC device change
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>
-rw-r--r--arch/arm/mach-s5pv210/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c
index 76084d85fd21..411a4a9cbfc7 100644
--- a/arch/arm/mach-s5pv210/cpu.c
+++ b/arch/arm/mach-s5pv210/cpu.c
@@ -76,7 +76,9 @@ static void s5pv210_idle(void)
76 76
77void __init s5pv210_map_io(void) 77void __init s5pv210_map_io(void)
78{ 78{
79#ifdef CONFIG_S3C_DEV_ADC
79 s3c_device_adc.name = "s3c64xx-adc"; 80 s3c_device_adc.name = "s3c64xx-adc";
81#endif
80 82
81 iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); 83 iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc));
82 84