[PATCH] [MTD] physmap: Add support for 64 bit resources

Stefan Roese ml at stefan-roese.de
Fri Jan 19 02:40:04 EST 2007


[PATCH] [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 at denx.de>

---
commit ae296c97b72c0dc2d2fc235ceb2a7ad1b18e1e82
tree ffed7ade867181a7aee5bda99f88a33a86cd0396
parent b194c4975c5b34440fb1efda5cb2f27c8e89132a
author Stefan Roese <sr at denx.de> Fri, 19 Jan 2007 08:38:12 +0100
committer Stefan Roese <sr at denx.de> Fri, 19 Jan 2007 08:38:12 +0100

 include/linux/mtd/map.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h
index 28d461d..81f3a31 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;




More information about the linux-mtd mailing list