From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- .../files/leds-disable-strict-3.8.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sys-kernel/compat-drivers-alx/files/leds-disable-strict-3.8.patch (limited to 'sys-kernel/compat-drivers-alx/files/leds-disable-strict-3.8.patch') diff --git a/sys-kernel/compat-drivers-alx/files/leds-disable-strict-3.8.patch b/sys-kernel/compat-drivers-alx/files/leds-disable-strict-3.8.patch new file mode 100644 index 00000000..fbc8d159 --- /dev/null +++ b/sys-kernel/compat-drivers-alx/files/leds-disable-strict-3.8.patch @@ -0,0 +1,30 @@ +--- drivers/net/wireless/rt2x00/rt2x00leds.c ++++ drivers/net/wireless/rt2x00/rt2x00leds.c +@@ -29,6 +29,7 @@ + #include "rt2x00.h" + #include "rt2x00lib.h" + ++#ifdef CONFIG_RT2X00_LIB_LEDS + void rt2x00leds_led_quality(struct rt2x00_dev *rt2x00dev, int rssi) + { + struct rt2x00_led *led = &rt2x00dev->led_qual; +@@ -244,3 +245,4 @@ + if (rt2x00dev->led_qual.flags & LED_REGISTERED) + rt2x00leds_resume_led(&rt2x00dev->led_qual); + } ++#endif /* CONFIG_RT2X00_LIB_LEDS */ +--- net/mac80211/led.c ++++ net/mac80211/led.c +@@ -12,6 +12,7 @@ + #include + #include "led.h" + ++#ifdef CONFIG_MAC80211_LEDS + void ieee80211_led_rx(struct ieee80211_local *local) + { + if (unlikely(!local->rx_led)) +@@ -307,3 +308,4 @@ + else + ieee80211_start_tpt_led_trig(local); + } ++#endif /* CONFIG_MAC80211_LEDS */ -- cgit v1.2.3