浏览代码

[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>
Stefan Roese 18 年之前
父节点
当前提交
0d36da3b40
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/linux/mtd/map.h

+ 1 - 1
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;