Skip to content
Snippets Groups Projects
Commit 65a6538a authored by Luciano Coelho's avatar Luciano Coelho Committed by John W. Linville
Browse files

mac80211: check for CONFIG_MAC80211_LEDS in the tpt_led_trigger declaration


If CONFIG_MAC80211_LEDS is not set, ieee80211_i.h was failing to compile,
because struct led_trigger is only declared when CONFIG_LEDS_TRIGGERS is
set.

This patch adds ifdefs around the tpt_led_trigger declaration in
ieee80211_i.h to avoid the problem.

Signed-off-by: default avatarLuciano Coelho <luciano.coelho@nokia.com>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 67408c8c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment