diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-04-19 05:42:25 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-19 06:29:09 -0400 |
commit | ba4eb7e60b11eba1ccd89d448e6d87d98df95da8 (patch) | |
tree | 2ddbb042dd7df1f47cd33dd58cbf1d1444288696 /arch/arm/mach-pxa/tosa.c | |
parent | d8a42fc45517081d1a8cf050a86eb79b0e290774 (diff) |
[ARM] 5004/1: Tosa: make several unreferenced structures static.
Now that scoop gpio's are converted to generic_gpio,
tosascoop_device and tosascoop_jc_device don't have
to be exported.
Also make tosa_gpio_* static
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/tosa.c')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index af1cce31c746..1722093cfe51 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
@@ -170,7 +170,7 @@ static struct scoop_config tosa_scoop_setup = { | |||
170 | .gpio_base = TOSA_SCOOP_GPIO_BASE, | 170 | .gpio_base = TOSA_SCOOP_GPIO_BASE, |
171 | }; | 171 | }; |
172 | 172 | ||
173 | struct platform_device tosascoop_device = { | 173 | static struct platform_device tosascoop_device = { |
174 | .name = "sharp-scoop", | 174 | .name = "sharp-scoop", |
175 | .id = 0, | 175 | .id = 0, |
176 | .dev = { | 176 | .dev = { |
@@ -197,7 +197,7 @@ static struct scoop_config tosa_scoop_jc_setup = { | |||
197 | .gpio_base = TOSA_SCOOP_JC_GPIO_BASE, | 197 | .gpio_base = TOSA_SCOOP_JC_GPIO_BASE, |
198 | }; | 198 | }; |
199 | 199 | ||
200 | struct platform_device tosascoop_jc_device = { | 200 | static struct platform_device tosascoop_jc_device = { |
201 | .name = "sharp-scoop", | 201 | .name = "sharp-scoop", |
202 | .id = 1, | 202 | .id = 1, |
203 | .dev = { | 203 | .dev = { |
@@ -421,7 +421,7 @@ static struct platform_device tosa_gpio_keys_device = { | |||
421 | /* | 421 | /* |
422 | * Tosa LEDs | 422 | * Tosa LEDs |
423 | */ | 423 | */ |
424 | struct gpio_led tosa_gpio_leds[] = { | 424 | static struct gpio_led tosa_gpio_leds[] = { |
425 | { | 425 | { |
426 | .name = "tosa:amber:charge", | 426 | .name = "tosa:amber:charge", |
427 | .default_trigger = "main-battery-charging", | 427 | .default_trigger = "main-battery-charging", |
@@ -434,7 +434,7 @@ struct gpio_led tosa_gpio_leds[] = { | |||
434 | }, | 434 | }, |
435 | }; | 435 | }; |
436 | 436 | ||
437 | struct gpio_led_platform_data tosa_gpio_leds_platform_data = { | 437 | static struct gpio_led_platform_data tosa_gpio_leds_platform_data = { |
438 | .leds = tosa_gpio_leds, | 438 | .leds = tosa_gpio_leds, |
439 | .num_leds = ARRAY_SIZE(tosa_gpio_leds), | 439 | .num_leds = ARRAY_SIZE(tosa_gpio_leds), |
440 | }; | 440 | }; |