[MTD] physmap: Add support for 64 bit resources

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Feb 9 09:59:07 EST 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=0d36da3b409536a24266c5f0972f2e1cfae1afd4
Commit:     0d36da3b409536a24266c5f0972f2e1cfae1afd4
Parent:     ad7d314480d357db0466bef843cdc1abd9441d4f
Author:     Stefan Roese <ml at stefan-roese.de>
AuthorDate: Fri Jan 19 08:40:04 2007 +0100
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Fri Feb 9 14:50:41 2007 +0000

    [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>
    Signed-off-by: Lennert Buytenhek <buytenh at wantstofly.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 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-cvs mailing list