]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-s3c24xx/mach-tct_hammer.c
Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck...
[~andy/linux] / arch / arm / mach-s3c24xx / mach-tct_hammer.c
index 1114666f0efb10712e7d53c07720850bba538885..fe990289ee7dc5ca72f49704d0cb9a346bdeb7de 100644 (file)
 
 #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[] = {
        {