Skip to content

Commit

Permalink
ARM: S3C24XX: Use common macro to define resources on mach-tct_hammer.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tushar Behera authored and Kukjin Kim committed May 12, 2012
1 parent 5f3b90d commit f8dadf5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions arch/arm/mach-s3c24xx/mach-tct_hammer.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@

#include "common.h"

static struct resource tct_hammer_nor_resource = {
.start = 0x00000000,
.end = 0x01000000 - 1,
.flags = IORESOURCE_MEM,
};
static struct resource tct_hammer_nor_resource =
DEFINE_RES_MEM(0x00000000, SZ_16M);

static struct mtd_partition tct_hammer_mtd_partitions[] = {
{
Expand Down

0 comments on commit f8dadf5

Please sign in to comment.