diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-05-12 17:47:07 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-05-12 17:47:07 -0400 |
commit | 5ff2714ae05b103d710fa7edbc6fb5d6f0f71beb (patch) | |
tree | 76929378be291400c29e316592154d858941ea14 /arch/arm/mach-s3c24xx/mach-osiris.c | |
parent | b6e059417daefb501174ec4157828037d5d58358 (diff) |
ARM: S3C24XX: Use common macro to define resources on mach-osiris.c
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-osiris.c')
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-osiris.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-osiris.c b/arch/arm/mach-s3c24xx/mach-osiris.c index c5daeb612a88..95d077255024 100644 --- a/arch/arm/mach-s3c24xx/mach-osiris.c +++ b/arch/arm/mach-s3c24xx/mach-osiris.c | |||
@@ -244,16 +244,8 @@ static struct s3c2410_platform_nand __initdata osiris_nand_info = { | |||
244 | /* PCMCIA control and configuration */ | 244 | /* PCMCIA control and configuration */ |
245 | 245 | ||
246 | static struct resource osiris_pcmcia_resource[] = { | 246 | static struct resource osiris_pcmcia_resource[] = { |
247 | [0] = { | 247 | [0] = DEFINE_RES_MEM(0x0f000000, SZ_1M), |
248 | .start = 0x0f000000, | 248 | [1] = DEFINE_RES_MEM(0x0c000000, SZ_1M), |
249 | .end = 0x0f100000, | ||
250 | .flags = IORESOURCE_MEM, | ||
251 | }, | ||
252 | [1] = { | ||
253 | .start = 0x0c000000, | ||
254 | .end = 0x0c100000, | ||
255 | .flags = IORESOURCE_MEM, | ||
256 | } | ||
257 | }; | 249 | }; |
258 | 250 | ||
259 | static struct platform_device osiris_pcmcia = { | 251 | static struct platform_device osiris_pcmcia = { |