diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/cpu.c')
-rw-r--r-- | arch/arm/mach-s5pv210/cpu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-s5pv210/cpu.c b/arch/arm/mach-s5pv210/cpu.c index 411a4a9cbfc7..68317a4170cf 100644 --- a/arch/arm/mach-s5pv210/cpu.c +++ b/arch/arm/mach-s5pv210/cpu.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <plat/devs.h> | 32 | #include <plat/devs.h> |
33 | #include <plat/clock.h> | 33 | #include <plat/clock.h> |
34 | #include <plat/s5pv210.h> | 34 | #include <plat/s5pv210.h> |
35 | #include <plat/adc-core.h> | ||
35 | #include <plat/iic-core.h> | 36 | #include <plat/iic-core.h> |
36 | #include <plat/sdhci.h> | 37 | #include <plat/sdhci.h> |
37 | 38 | ||
@@ -76,10 +77,6 @@ static void s5pv210_idle(void) | |||
76 | 77 | ||
77 | void __init s5pv210_map_io(void) | 78 | void __init s5pv210_map_io(void) |
78 | { | 79 | { |
79 | #ifdef CONFIG_S3C_DEV_ADC | ||
80 | s3c_device_adc.name = "s3c64xx-adc"; | ||
81 | #endif | ||
82 | |||
83 | iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); | 80 | iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc)); |
84 | 81 | ||
85 | /* initialise device information early */ | 82 | /* initialise device information early */ |
@@ -87,6 +84,8 @@ void __init s5pv210_map_io(void) | |||
87 | s5pv210_default_sdhci1(); | 84 | s5pv210_default_sdhci1(); |
88 | s5pv210_default_sdhci2(); | 85 | s5pv210_default_sdhci2(); |
89 | 86 | ||
87 | s3c_adc_setname("s3c64xx-adc"); | ||
88 | |||
90 | /* the i2c devices are directly compatible with s3c2440 */ | 89 | /* the i2c devices are directly compatible with s3c2440 */ |
91 | s3c_i2c0_setname("s3c2440-i2c"); | 90 | s3c_i2c0_setname("s3c2440-i2c"); |
92 | s3c_i2c1_setname("s3c2440-i2c"); | 91 | s3c_i2c1_setname("s3c2440-i2c"); |