Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: check for CONFIG_MAC80211_LEDS in the tpt_led_trigger decla…
…ration 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: Luciano Coelho <[email protected]> Acked-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]>
- Loading branch information