From: Luciano Coelho Date: Tue, 21 Dec 2010 14:02:17 +0000 (+0200) Subject: mac80211: check for CONFIG_MAC80211_LEDS in the tpt_led_trigger declaration X-Git-Tag: v2.6.38-rc1~476^2~104^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65a6538a56d4c7ae8465f2a8420ddc65877b6779;p=pandora-kernel.git 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: Luciano Coelho Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed