Fix the following sparse errors in s3c24xx arch/arm directories: arch/arm/mach-s3c2410/mach-amlm5900.c:168:13: warning: symbol 'amlm5900_map_io' was not declared. Should it be static? arch/arm/mach-s3c2443/clock.c:397:12: warning: symbol 'clk_usb_bus_host' was not declared. Should it be static? This patch makes these entries static. Signed-off-by: Ben Dooks PATCH FOLLOWS KernelVersion: 2.6.21-rc6 diff -urpN -X linux-2.6.21-rc6/Documentation/dontdiff linux-2.6.21-rc6/arch/arm/mach-s3c2410/mach-amlm5900.c linux-2.6.21-rc6-sparse1/arch/arm/mach-s3c2410/mach-amlm5900.c --- linux-2.6.21-rc6/arch/arm/mach-s3c2410/mach-amlm5900.c 2007-04-14 13:42:44.000000000 +0100 +++ linux-2.6.21-rc6-sparse1/arch/arm/mach-s3c2410/mach-amlm5900.c 2007-04-18 00:15:22.000000000 +0100 @@ -165,7 +165,7 @@ static struct s3c24xx_board amlm5900_boa .devices_count = ARRAY_SIZE(amlm5900_devices) }; -void __init amlm5900_map_io(void) +static void __init amlm5900_map_io(void) { s3c24xx_init_io(amlm5900_iodesc, ARRAY_SIZE(amlm5900_iodesc)); s3c24xx_init_clocks(0); diff -urpN -X linux-2.6.21-rc6/Documentation/dontdiff linux-2.6.21-rc6/arch/arm/mach-s3c2443/clock.c linux-2.6.21-rc6-sparse1/arch/arm/mach-s3c2443/clock.c --- linux-2.6.21-rc6/arch/arm/mach-s3c2443/clock.c 2007-04-14 13:42:44.000000000 +0100 +++ linux-2.6.21-rc6-sparse1/arch/arm/mach-s3c2443/clock.c 2007-04-18 00:17:12.000000000 +0100 @@ -394,7 +394,7 @@ static int s3c2443_setrate_usbhost(struc return 0; } -struct clk clk_usb_bus_host = { +static struct clk clk_usb_bus_host = { .name = "usb-bus-host-parent", .id = -1, .parent = &clk_esysclk,