|
@@ -292,7 +292,7 @@ static struct platform_device herald_gpiokeys_device = {
|
|
|
};
|
|
|
|
|
|
/* LEDs for the Herald. These connect to the HTCPLD GPIO device. */
|
|
|
-static struct gpio_led gpio_leds[] = {
|
|
|
+static const struct gpio_led gpio_leds[] = {
|
|
|
{"dpad", NULL, HTCPLD_GPIO_LED_DPAD, 0, 0, LEDS_GPIO_DEFSTATE_OFF},
|
|
|
{"kbd", NULL, HTCPLD_GPIO_LED_KBD, 0, 0, LEDS_GPIO_DEFSTATE_OFF},
|
|
|
{"vibrate", NULL, HTCPLD_GPIO_LED_VIBRATE, 0, 0, LEDS_GPIO_DEFSTATE_OFF},
|