X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5f33b429e2ec7a5aa0f78cb1d96e22778c6ea5c3..d2d50ad0de3e25c7ff27beb44a5fdf2db16b5e3a:/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch?ds=inline diff --git a/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch b/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch index 853636d31..4bb907388 100644 --- a/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch +++ b/target/linux/ixp4xx/patches-2.6.32/295-latch_led_driver.patch @@ -16,7 +16,7 @@ depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI --- /dev/null +++ b/drivers/leds/leds-latch.c -@@ -0,0 +1,149 @@ +@@ -0,0 +1,150 @@ +/* + * LEDs driver for Memory Latched Devices + * @@ -35,6 +35,7 @@ +#include +#include +#include ++#include + +static unsigned int mem_keep = 0xFF; +static spinlock_t mem_lock;