浏览代码

[ARM] Re-fix footbridge

That's __phys_to_pfn, not __phy_to_pfn.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 20 年之前
父节点
当前提交
865052fd51
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/mach-footbridge/common.c

+ 1 - 1
arch/arm/mach-footbridge/common.c

@@ -132,7 +132,7 @@ void __init footbridge_init_irq(void)
 static struct map_desc fb_common_io_desc[] __initdata = {
 static struct map_desc fb_common_io_desc[] __initdata = {
 	{
 	{
 		.virtual	= ARMCSR_BASE,
 		.virtual	= ARMCSR_BASE,
-		.pfn		= __phy_to_pfn(DC21285_ARMCSR_BASE),
+		.pfn		= __phys_to_pfn(DC21285_ARMCSR_BASE),
 		.length		= ARMCSR_SIZE,
 		.length		= ARMCSR_SIZE,
 		.type		= MT_DEVICE,
 		.type		= MT_DEVICE,
 	}, {
 	}, {