diff options
author | Naveen Krishna Ch <ch.naveen@samsung.com> | 2010-06-09 05:55:19 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-05 05:32:50 -0400 |
commit | 50e9769ad5cfdcfefcfdf99236a3c962e82ebc09 (patch) | |
tree | ecbd28fe4a66813b07f883353a15511c89a7a303 /arch/arm/mach-s5p6440 | |
parent | 0ab0b6d226caa4a0268ecbce76a7376c3f40ee6b (diff) |
ARM: SAMSUNG: Implement set_name function for ADC devices
This patch implements s3c_adc_setname() for Samsung SoCs.
Also updates its usage in S3C64XX, S5P6440, and S5PV210.
Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5p6440')
-rw-r--r-- | arch/arm/mach-s5p6440/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s5p6440/cpu.c b/arch/arm/mach-s5p6440/cpu.c index b2fe6a58155a..526f33adb31d 100644 --- a/arch/arm/mach-s5p6440/cpu.c +++ b/arch/arm/mach-s5p6440/cpu.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <plat/devs.h> | 37 | #include <plat/devs.h> |
38 | #include <plat/clock.h> | 38 | #include <plat/clock.h> |
39 | #include <plat/s5p6440.h> | 39 | #include <plat/s5p6440.h> |
40 | #include <plat/adc-core.h> | ||
40 | 41 | ||
41 | static void s5p6440_idle(void) | 42 | static void s5p6440_idle(void) |
42 | { | 43 | { |
@@ -61,7 +62,7 @@ static void s5p6440_idle(void) | |||
61 | void __init s5p6440_map_io(void) | 62 | void __init s5p6440_map_io(void) |
62 | { | 63 | { |
63 | /* initialize any device information early */ | 64 | /* initialize any device information early */ |
64 | s3c_device_adc.name = "s3c64xx-adc"; | 65 | s3c_adc_setname("s3c64xx-adc"); |
65 | } | 66 | } |
66 | 67 | ||
67 | void __init s5p6440_init_clocks(int xtal) | 68 | void __init s5p6440_init_clocks(int xtal) |