From: David Vrabel Date: Wed, 18 Jan 2006 22:46:43 +0000 (+0000) Subject: [ARM] 3281/1: ixp4xx: export ixp4xx_exp_bus_size for modules X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e74c891252941ac195bb47978f079c592271a3f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [ARM] 3281/1: ixp4xx: export ixp4xx_exp_bus_size for modules 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 Signed-off-by: Russell King --- diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 6b393691d0e..4bdc9d4526c 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c @@ -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) { @@ -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); }