summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorStefan Roese <ml@stefan-roese.de>2007-01-19 08:40:04 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2007-02-09 14:50:41 +0000
commit0d36da3b409536a24266c5f0972f2e1cfae1afd4 (patch)
treeb6e68f30dbe5fe2a2122aec16e9eb3d800e15414 /include/linux/mtd
parentad7d314480d357db0466bef843cdc1abd9441d4f (diff)
[MTD] physmap: Add support for 64 bit resources
This patch adds support for 64 bit resources enabled via the CONFIG_RESOURCES_64BIT option. Now a 64 bit can be passed to the physmap driver. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h
index 28d461d862bd..81f3a314dd76 100644
--- a/include/linux/mtd/map.h
+++ b/include/linux/mtd/map.h
@@ -183,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;