Commit 4a672bfe authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Robert Jarzmik

ARM: pxa: raumfeld: make some variables static

This fixes the following sparse warnings:

	arch/arm/mach-pxa/raumfeld.c:510:24: warning: symbol 'raumfeld_w1_gpio_device' was not declared. Should it be static?
	arch/arm/mach-pxa/raumfeld.c:632:31: warning: symbol 'raumfeld_spi_platform_data' was not declared. Should it be static?
	arch/arm/mach-pxa/raumfeld.c:851:28: warning: symbol 'audio_va_initdata' was not declared. Should it be static?
	arch/arm/mach-pxa/raumfeld.c:883:28: warning: symbol 'audio_dummy_initdata' was not declared. Should it be static?
	arch/arm/mach-pxa/raumfeld.c:931:28: warning: symbol 'max8660_v6_subdev_data' was not declared. Should it be static?
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarDaniel Mack <daniel@zonque.org>
Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
parent 28496be9
...@@ -508,7 +508,7 @@ static struct w1_gpio_platform_data w1_gpio_platform_data = { ...@@ -508,7 +508,7 @@ static struct w1_gpio_platform_data w1_gpio_platform_data = {
.ext_pullup_enable_pin = -EINVAL, .ext_pullup_enable_pin = -EINVAL,
}; };
struct platform_device raumfeld_w1_gpio_device = { static struct platform_device raumfeld_w1_gpio_device = {
.name = "w1-gpio", .name = "w1-gpio",
.dev = { .dev = {
.platform_data = &w1_gpio_platform_data .platform_data = &w1_gpio_platform_data
...@@ -634,7 +634,7 @@ static void __init raumfeld_lcd_init(void) ...@@ -634,7 +634,7 @@ static void __init raumfeld_lcd_init(void)
* SPI devices * SPI devices
*/ */
struct spi_gpio_platform_data raumfeld_spi_platform_data = { static struct spi_gpio_platform_data raumfeld_spi_platform_data = {
.sck = GPIO_SPI_CLK, .sck = GPIO_SPI_CLK,
.mosi = GPIO_SPI_MOSI, .mosi = GPIO_SPI_MOSI,
.miso = GPIO_SPI_MISO, .miso = GPIO_SPI_MISO,
...@@ -853,7 +853,7 @@ static void __init raumfeld_power_init(void) ...@@ -853,7 +853,7 @@ static void __init raumfeld_power_init(void)
static struct regulator_consumer_supply audio_va_consumer_supply = static struct regulator_consumer_supply audio_va_consumer_supply =
REGULATOR_SUPPLY("va", "0-0048"); REGULATOR_SUPPLY("va", "0-0048");
struct regulator_init_data audio_va_initdata = { static struct regulator_init_data audio_va_initdata = {
.consumer_supplies = &audio_va_consumer_supply, .consumer_supplies = &audio_va_consumer_supply,
.num_consumer_supplies = 1, .num_consumer_supplies = 1,
.constraints = { .constraints = {
...@@ -885,7 +885,7 @@ static struct regulator_consumer_supply audio_dummy_supplies[] = { ...@@ -885,7 +885,7 @@ static struct regulator_consumer_supply audio_dummy_supplies[] = {
REGULATOR_SUPPLY("vlc", "0-0048"), REGULATOR_SUPPLY("vlc", "0-0048"),
}; };
struct regulator_init_data audio_dummy_initdata = { static struct regulator_init_data audio_dummy_initdata = {
.consumer_supplies = audio_dummy_supplies, .consumer_supplies = audio_dummy_supplies,
.num_consumer_supplies = ARRAY_SIZE(audio_dummy_supplies), .num_consumer_supplies = ARRAY_SIZE(audio_dummy_supplies),
.constraints = { .constraints = {
...@@ -933,7 +933,7 @@ static struct regulator_init_data vcc_mmc_init_data = { ...@@ -933,7 +933,7 @@ static struct regulator_init_data vcc_mmc_init_data = {
.num_consumer_supplies = 1, .num_consumer_supplies = 1,
}; };
struct max8660_subdev_data max8660_v6_subdev_data = { static struct max8660_subdev_data max8660_v6_subdev_data = {
.id = MAX8660_V6, .id = MAX8660_V6,
.name = "vmmc", .name = "vmmc",
.platform_data = &vcc_mmc_init_data, .platform_data = &vcc_mmc_init_data,
......
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