netfilter: fix xt_LED build failure
authorPatrick McHardy <kaber@trash.net>
Wed, 25 Mar 2009 16:21:34 +0000 (17:21 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 25 Mar 2009 16:21:34 +0000 (17:21 +0100)
commita9a9adfe2f99ddadfb574a098392a007970a1577
tree9a9d8f7b094119c557bb01f23b268ded574e6d34
parent1d45209d89e647e9f27e4afa1f47338df73bc112
netfilter: fix xt_LED build failure

net/netfilter/xt_LED.c:40: error: field netfilter_led_trigger has incomplete type
net/netfilter/xt_LED.c: In function led_timeout_callback:
net/netfilter/xt_LED.c:78: warning: unused variable ledinternal
net/netfilter/xt_LED.c: In function led_tg_check:
net/netfilter/xt_LED.c:102: error: implicit declaration of function led_trigger_register
net/netfilter/xt_LED.c: In function led_tg_destroy:
net/netfilter/xt_LED.c:135: error: implicit declaration of function led_trigger_unregister

Fix by adding a dependency on LED_TRIGGERS.

Reported-by: Sachin Sant <sachinp@in.ibm.com>
Tested-by: Subrata Modak <tosubrata@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/Kconfig