]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mtd/map.h
[MTD] [NOR] Support for auto locking flash on power up
[linux-2.6-omap-h63xx.git] / include / linux / mtd / map.h
index fedfbc8a287ff64228dee5a0f9fe551026988ea0..81f3a314dd76dfc6057ef9f7a82fff3b4d08c652 100644 (file)
@@ -5,7 +5,6 @@
 #ifndef __LINUX_MTD_MAP_H__
 #define __LINUX_MTD_MAP_H__
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/list.h>
 #include <linux/string.h>
@@ -15,7 +14,6 @@
 #include <asm/unaligned.h>
 #include <asm/system.h>
 #include <asm/io.h>
-#include <asm/bug.h>
 
 #ifdef CONFIG_MTD_MAP_BANK_WIDTH_1
 #define map_bankwidth(map) 1
@@ -185,7 +183,7 @@ typedef union {
 struct map_info {
        char *name;
        unsigned long size;
-       unsigned long phys;
+       resource_size_t phys;
 #define NO_XIP (-1UL)
 
        void __iomem *virt;