aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorDavid Vrabel <dvrabel@arcom.com>2006-01-18 17:46:43 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-18 17:46:43 -0500
commit1e74c891252941ac195bb47978f079c592271a3f (patch)
treee8b6d56cfe360b19fb9c824afc28f8da5ac51556 /arch/arm
parent265d5e48dd1fd4c53f2b454e1e82b7713ddca37e (diff)
[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 <dvrabel@arcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-ixp4xx/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c
index 6b393691d0e8..4bdc9d4526cd 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 = {
333}; 333};
334 334
335unsigned long ixp4xx_exp_bus_size; 335unsigned long ixp4xx_exp_bus_size;
336EXPORT_SYMBOL(ixp4xx_exp_bus_size);
336 337
337void __init ixp4xx_sys_init(void) 338void __init ixp4xx_sys_init(void)
338{ 339{
@@ -352,7 +353,7 @@ void __init ixp4xx_sys_init(void)
352 } 353 }
353 } 354 }
354 355
355 printk("IXP4xx: Using %uMiB expansion bus window size\n", 356 printk("IXP4xx: Using %luMiB expansion bus window size\n",
356 ixp4xx_exp_bus_size >> 20); 357 ixp4xx_exp_bus_size >> 20);
357} 358}
358 359