X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fpatches-2.6.39%2F140-falcon-easy98000-cpld-led.patch;h=c93c3e779dde4346aab2a0e9e339fb2ab50ad90a;hb=dde03ff97ac5e14bec7c35ca73c868efd9ace598;hp=f623b2e07922e6046ab98c2061ea1b26d6538d34;hpb=a6916ee35636bc794f596a02bec052c16cb9fa11;p=openwrt.git diff --git a/target/linux/lantiq/patches-2.6.39/140-falcon-easy98000-cpld-led.patch b/target/linux/lantiq/patches-2.6.39/140-falcon-easy98000-cpld-led.patch index f623b2e079..c93c3e779d 100644 --- a/target/linux/lantiq/patches-2.6.39/140-falcon-easy98000-cpld-led.patch +++ b/target/linux/lantiq/patches-2.6.39/140-falcon-easy98000-cpld-led.patch @@ -1,8 +1,8 @@ --- a/arch/mips/lantiq/falcon/Makefile +++ b/arch/mips/lantiq/falcon/Makefile -@@ -1,3 +1,4 @@ - obj-y := clk-falcon.o devices.o gpio.o prom.o sysctrl.o reset.o +@@ -2,3 +2,4 @@ obj-y := clk-falcon.o devices.o gpio.o p obj-y += softdog_vpe.o + obj-$(CONFIG_LANTIQ_MACH_EASY98000) += addon-easy98000.o obj-$(CONFIG_LANTIQ_MACH_EASY98000) += mach-easy98000.o +obj-$(CONFIG_LANTIQ_MACH_EASY98000) += dev-leds-easy98000-cpld.o --- /dev/null @@ -141,7 +141,7 @@ + +static struct platform_driver led_driver = { + .probe = led_probe, -+ .remove = led_remove, ++ .remove = __devexit_p(led_remove), + .driver = { + .name = LED_NAME, + .owner = THIS_MODULE,