aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/mach-gta02.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-gta02.c')
-rw-r--r--arch/arm/mach-s3c24xx/mach-gta02.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-gta02.c b/arch/arm/mach-s3c24xx/mach-gta02.c
index ba5d85394105..0f29f64a3eeb 100644
--- a/arch/arm/mach-s3c24xx/mach-gta02.c
+++ b/arch/arm/mach-s3c24xx/mach-gta02.c
@@ -387,11 +387,8 @@ static struct physmap_flash_data gta02_nor_flash_data = {
387 .width = 2, 387 .width = 2,
388}; 388};
389 389
390static struct resource gta02_nor_flash_resource = { 390static struct resource gta02_nor_flash_resource =
391 .start = GTA02_FLASH_BASE, 391 DEFINE_RES_MEM(GTA02_FLASH_BASE, GTA02_FLASH_SIZE);
392 .end = GTA02_FLASH_BASE + GTA02_FLASH_SIZE - 1,
393 .flags = IORESOURCE_MEM,
394};
395 392
396static struct platform_device gta02_nor_flash = { 393static struct platform_device gta02_nor_flash = {
397 .name = "physmap-flash", 394 .name = "physmap-flash",