|
@@ -223,7 +223,7 @@ static struct mc13xxx_regulator_init_data moboard_regulators[] = {
|
|
},
|
|
},
|
|
};
|
|
};
|
|
|
|
|
|
-static struct mc13783_led_platform_data moboard_led[] = {
|
|
|
|
|
|
+static struct mc13xxx_led_platform_data moboard_led[] = {
|
|
{
|
|
{
|
|
.id = MC13783_LED_R1,
|
|
.id = MC13783_LED_R1,
|
|
.name = "coreboard-led-4:red",
|
|
.name = "coreboard-led-4:red",
|
|
@@ -256,7 +256,7 @@ static struct mc13783_led_platform_data moboard_led[] = {
|
|
},
|
|
},
|
|
};
|
|
};
|
|
|
|
|
|
-static struct mc13783_leds_platform_data moboard_leds = {
|
|
|
|
|
|
+static struct mc13xxx_leds_platform_data moboard_leds = {
|
|
.num_leds = ARRAY_SIZE(moboard_led),
|
|
.num_leds = ARRAY_SIZE(moboard_led),
|
|
.led = moboard_led,
|
|
.led = moboard_led,
|
|
.flags = MC13783_LED_SLEWLIMTC,
|
|
.flags = MC13783_LED_SLEWLIMTC,
|
|
@@ -265,7 +265,7 @@ static struct mc13783_leds_platform_data moboard_leds = {
|
|
.tc2_period = MC13783_LED_PERIOD_10MS,
|
|
.tc2_period = MC13783_LED_PERIOD_10MS,
|
|
};
|
|
};
|
|
|
|
|
|
-static struct mc13783_buttons_platform_data moboard_buttons = {
|
|
|
|
|
|
+static struct mc13xxx_buttons_platform_data moboard_buttons = {
|
|
.b1on_flags = MC13783_BUTTON_DBNC_750MS | MC13783_BUTTON_ENABLE |
|
|
.b1on_flags = MC13783_BUTTON_DBNC_750MS | MC13783_BUTTON_ENABLE |
|
|
MC13783_BUTTON_POL_INVERT,
|
|
MC13783_BUTTON_POL_INVERT,
|
|
.b1on_key = KEY_POWER,
|
|
.b1on_key = KEY_POWER,
|