aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-05-12 03:12:25 -0400
committerKukjin Kim <kgene.kim@samsung.com>2012-05-12 03:12:25 -0400
commitf8dadf5dbef26f12aba661405369dea605acf4ee (patch)
treec1446ca2ee5671fddb341fc03235bccc68dc0f9b /arch/arm/mach-s3c24xx
parent5f3b90dcc0f0dec654112d28c5a07ef47ad61d0f (diff)
ARM: S3C24XX: Use common macro to define resources on mach-tct_hammer.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')
-rw-r--r--arch/arm/mach-s3c24xx/mach-tct_hammer.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-tct_hammer.c b/arch/arm/mach-s3c24xx/mach-tct_hammer.c
index 1114666f0efb..fe990289ee7d 100644
--- a/arch/arm/mach-s3c24xx/mach-tct_hammer.c
+++ b/arch/arm/mach-s3c24xx/mach-tct_hammer.c
@@ -56,11 +56,8 @@
56 56
57#include "common.h" 57#include "common.h"
58 58
59static struct resource tct_hammer_nor_resource = { 59static struct resource tct_hammer_nor_resource =
60 .start = 0x00000000, 60 DEFINE_RES_MEM(0x00000000, SZ_16M);
61 .end = 0x01000000 - 1,
62 .flags = IORESOURCE_MEM,
63};
64 61
65static struct mtd_partition tct_hammer_mtd_partitions[] = { 62static struct mtd_partition tct_hammer_mtd_partitions[] = {
66 { 63 {