Skip to content
Commit a9a9adfe authored by Patrick McHardy's avatar Patrick McHardy
Browse files

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: default avatarSachin Sant <sachinp@in.ibm.com>
Tested-by: default avatarSubrata Modak <tosubrata@gmail.com>
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 1d45209d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment