From patchwork Tue Dec 21 14:02:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luciano Coelho X-Patchwork-Id: 424431 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBLE2ur5017585 for ; Tue, 21 Dec 2010 14:02:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751237Ab0LUOCz (ORCPT ); Tue, 21 Dec 2010 09:02:55 -0500 Received: from smtp.nokia.com ([147.243.1.48]:62890 "EHLO mgw-sa02.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828Ab0LUOCy (ORCPT ); Tue, 21 Dec 2010 09:02:54 -0500 Received: from nokia.com (localhost [127.0.0.1]) by mgw-sa02.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id oBLE1o5G013413; Tue, 21 Dec 2010 16:02:21 +0200 Received: from localhost.localdomain ([esdhcp040213.research.nokia.com [172.21.40.213]]) by mgw-sa02.nokia.com with RELAY id oBLE2HN6014096 ; Tue, 21 Dec 2010 16:02:18 +0200 From: luciano.coelho@nokia.com To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, Luciano Coelho , Johannes Berg Subject: [PATCH] mac80211: check for CONFIG_MAC80211_LEDS in the tpt_led_trigger declaration Date: Tue, 21 Dec 2010 16:02:17 +0200 Message-Id: <1292940137-21850-1-git-send-email-luciano.coelho@nokia.com> X-Mailer: git-send-email 1.7.0.4 X-Nokia-AV: Clean Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Dec 2010 14:02:56 +0000 (UTC) diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 0817ec6..7541d42 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -631,6 +631,7 @@ enum queue_stop_reason { IEEE80211_QUEUE_STOP_REASON_SKB_ADD, }; +#ifdef CONFIG_MAC80211_LEDS struct tpt_led_trigger { struct led_trigger trig; char name[32]; @@ -642,6 +643,7 @@ struct tpt_led_trigger { unsigned int active, want; bool running; }; +#endif /** * mac80211 scan flags - currently active scan mode