Skip to content

Commit

Permalink
[ARM] 5020/1: magician: remove __devinit marker from pasic3_leds_info
Browse files Browse the repository at this point in the history
Platform data must not be marked with __devinit. Even __devinitdata
would be wrong as the platform driver can be compiled as a module.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Philipp Zabel authored and Russell King committed Apr 24, 2008
1 parent d393061 commit e03e059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/magician.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ static struct pasic3_led pasic3_leds[] = {

static struct platform_device pasic3;

static struct pasic3_leds_machinfo __devinit pasic3_leds_info = {
static struct pasic3_leds_machinfo pasic3_leds_info = {
.num_leds = ARRAY_SIZE(pasic3_leds),
.power_gpio = EGPIO_MAGICIAN_LED_POWER,
.leds = pasic3_leds,
Expand Down

0 comments on commit e03e059

Please sign in to comment.