|
@@ -32,6 +32,7 @@
|
|
|
#include <plat/devs.h>
|
|
|
#include <plat/clock.h>
|
|
|
#include <plat/s5pv210.h>
|
|
|
+#include <plat/adc-core.h>
|
|
|
#include <plat/iic-core.h>
|
|
|
#include <plat/sdhci.h>
|
|
|
|
|
@@ -76,10 +77,6 @@ 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));
|
|
|
|
|
|
/* initialise device information early */
|
|
@@ -87,6 +84,8 @@ void __init s5pv210_map_io(void)
|
|
|
s5pv210_default_sdhci1();
|
|
|
s5pv210_default_sdhci2();
|
|
|
|
|
|
+ s3c_adc_setname("s3c64xx-adc");
|
|
|
+
|
|
|
/* the i2c devices are directly compatible with s3c2440 */
|
|
|
s3c_i2c0_setname("s3c2440-i2c");
|
|
|
s3c_i2c1_setname("s3c2440-i2c");
|