diff --git a/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch b/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch index a35663a9b..79e5e356a 100644 --- a/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch +++ b/target/linux/ixp4xx/patches-2.6.26/110-pronghorn_series_support.patch @@ -153,6 +153,7 @@ +#include +#include +#include ++#include + +#include +#include @@ -242,12 +243,11 @@ + { + .name = "pronghorn:green:status", + .gpio = 7, -+ }, -+ { }, ++ } +}; + +static struct gpio_led_platform_data pronghorn_led_data = { -+ .num_leds = ARRAY_SIZE(pronghorn_led_pin), ++ .num_leds = 1, + .leds = pronghorn_led_pin, +}; +