فهرست منبع

ARM: mach-shmobile: Fix up gpio-leds pdata definition.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 15 سال پیش
والد
کامیت
8050fbf268
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      arch/arm/mach-shmobile/board-ap4evb.c

+ 1 - 1
arch/arm/mach-shmobile/board-ap4evb.c

@@ -676,7 +676,7 @@ static struct gpio_led ap4evb_leds[] = {
 
 
 static struct gpio_led_platform_data ap4evb_leds_pdata = {
 static struct gpio_led_platform_data ap4evb_leds_pdata = {
 	.num_leds = ARRAY_SIZE(ap4evb_leds),
 	.num_leds = ARRAY_SIZE(ap4evb_leds),
-	.leds = &ap4evb_leds,
+	.leds = ap4evb_leds,
 };
 };
 
 
 static struct platform_device leds_device = {
 static struct platform_device leds_device = {