diff options
author | Atul Dahiya <atul.dahiya@samsung.com> | 2010-10-18 06:56:45 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-10-18 06:56:45 -0400 |
commit | ef3f2dd4810cca5bf5b1d3648968b50fb267d5e2 (patch) | |
tree | 3715885664d99f3a092dbb1563ee5d5eb3691799 /arch/arm/mach-s3c2443 | |
parent | 66ad4eea7ec50fe131755c80058b1157d160294d (diff) |
ARM: SAMSUNG: Add setname core function for S3C24XX NAND
This patch replaces the device name assignment method from string assignment
to set_name method for all s3c24xx machines and adds device core file.
Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com>
Signed-off-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2443')
-rw-r--r-- | arch/arm/mach-s3c2443/s3c2443.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2443/s3c2443.c b/arch/arm/mach-s3c2443/s3c2443.c index 839b6b2ced74..33d18dd1ebd5 100644 --- a/arch/arm/mach-s3c2443/s3c2443.c +++ b/arch/arm/mach-s3c2443/s3c2443.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <plat/devs.h> | 36 | #include <plat/devs.h> |
37 | #include <plat/cpu.h> | 37 | #include <plat/cpu.h> |
38 | #include <plat/fb-core.h> | 38 | #include <plat/fb-core.h> |
39 | #include <plat/nand-core.h> | ||
39 | 40 | ||
40 | static struct map_desc s3c2443_iodesc[] __initdata = { | 41 | static struct map_desc s3c2443_iodesc[] __initdata = { |
41 | IODESC_ENT(WATCHDOG), | 42 | IODESC_ENT(WATCHDOG), |
@@ -62,7 +63,7 @@ int __init s3c2443_init(void) | |||
62 | 63 | ||
63 | s3c24xx_reset_hook = s3c2443_hard_reset; | 64 | s3c24xx_reset_hook = s3c2443_hard_reset; |
64 | 65 | ||
65 | s3c_device_nand.name = "s3c2412-nand"; | 66 | s3c_nand_setname("s3c2412-nand"); |
66 | s3c_fb_setname("s3c2443-fb"); | 67 | s3c_fb_setname("s3c2443-fb"); |
67 | 68 | ||
68 | /* change WDT IRQ number */ | 69 | /* change WDT IRQ number */ |