Commit 140089da authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Tony Lindgren

arm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static

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: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 04023542
...@@ -331,7 +331,7 @@ static struct resource htcpld_resources[] = { ...@@ -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] = { [0] = {
.addr = 0x03, .addr = 0x03,
.reset = 0x04, .reset = 0x04,
...@@ -366,7 +366,7 @@ struct htcpld_chip_platform_data htcpld_chips[] = { ...@@ -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_hi = HTCPLD_GPIO_INT_RESET_HI,
.int_reset_gpio_lo = HTCPLD_GPIO_INT_RESET_LO, .int_reset_gpio_lo = HTCPLD_GPIO_INT_RESET_LO,
.i2c_adapter_id = 1, .i2c_adapter_id = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment