Skip to content

Commit

Permalink
[ARM] 3281/1: ixp4xx: export ixp4xx_exp_bus_size for modules
Browse files Browse the repository at this point in the history
Patch from David Vrabel

Export ixp4xx_exp_bus_size so modules can use the IXP4XX_EXP_BUS_BASE(n) macro.

Also, fix a printk format warning.

Signed-off-by: David Vrabel <dvrabel@arcom.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
David Vrabel authored and Russell King committed Jan 18, 2006
1 parent 265d5e4 commit 1e74c89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-ixp4xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ static struct platform_device *ixp46x_devices[] __initdata = {
};

unsigned long ixp4xx_exp_bus_size;
EXPORT_SYMBOL(ixp4xx_exp_bus_size);

void __init ixp4xx_sys_init(void)
{
Expand All @@ -352,7 +353,7 @@ void __init ixp4xx_sys_init(void)
}
}

printk("IXP4xx: Using %uMiB expansion bus window size\n",
printk("IXP4xx: Using %luMiB expansion bus window size\n",
ixp4xx_exp_bus_size >> 20);
}

0 comments on commit 1e74c89

Please sign in to comment.