]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/commitdiff
arm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 28 Jan 2011 00:39:44 +0000 (16:39 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Jan 2011 00:39:48 +0000 (16:39 -0800)
Eliminates the following sparse warnings:

arch/arm/mach-omap1/board-htcherald.c:334:34: warning: symbol 'htcpld_chips' was not declared. Should it be static?
arch/arm/mach-omap1/board-htcherald.c:369:34: warning: symbol 'htcpld_pfdata' was not declared. Should it be static?

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-htcherald.c

index f2c5c585bc83cb1cc329f6474ee8dd20ebd99c6d..ba05a51f9408dfe308f66e0cb36a717c3101a745 100644 (file)
@@ -331,7 +331,7 @@ static struct resource htcpld_resources[] = {
        },
 };
 
-struct htcpld_chip_platform_data htcpld_chips[] = {
+static struct htcpld_chip_platform_data htcpld_chips[] = {
        [0] = {
                .addr           = 0x03,
                .reset          = 0x04,
@@ -366,7 +366,7 @@ struct htcpld_chip_platform_data htcpld_chips[] = {
        },
 };
 
-struct htcpld_core_platform_data htcpld_pfdata = {
+static struct htcpld_core_platform_data htcpld_pfdata = {
        .int_reset_gpio_hi = HTCPLD_GPIO_INT_RESET_HI,
        .int_reset_gpio_lo = HTCPLD_GPIO_INT_RESET_LO,
        .i2c_adapter_id    = 1,