From 8be7f487e2d336e2c3a42bcf6b9b3bdd838439d6 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 7 Apr 2014 10:44:52 +0000
Subject: [PATCH] ar71xx: move some always-used led related functionality from
 kmod packages to the kernel image

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40413
---
 target/linux/ar71xx/Makefile    | 3 +--
 target/linux/ar71xx/config-3.10 | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/target/linux/ar71xx/Makefile b/target/linux/ar71xx/Makefile
index fe54a52343..25c51c33ef 100644
--- a/target/linux/ar71xx/Makefile
+++ b/target/linux/ar71xx/Makefile
@@ -18,8 +18,7 @@ LINUX_VERSION:=3.10.34
 include $(INCLUDE_DIR)/target.mk
 
 DEFAULT_PACKAGES += \
-	kmod-leds-gpio kmod-gpio-button-hotplug swconfig \
-	kmod-ledtrig-default-on kmod-ledtrig-timer kmod-ledtrig-netdev \
+	kmod-gpio-button-hotplug swconfig \
 	kmod-ath9k wpad-mini uboot-envtools
 
 $(eval $(call BuildTarget))
diff --git a/target/linux/ar71xx/config-3.10 b/target/linux/ar71xx/config-3.10
index f4d1fd8ff4..10817ea578 100644
--- a/target/linux/ar71xx/config-3.10
+++ b/target/linux/ar71xx/config-3.10
@@ -196,9 +196,7 @@ CONFIG_IRQ_CPU=y
 CONFIG_IRQ_DOMAIN=y
 CONFIG_IRQ_FORCED_THREADING=y
 CONFIG_IRQ_WORK=y
-# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
-# CONFIG_LEDS_TRIGGER_NETDEV is not set
-# CONFIG_LEDS_TRIGGER_TIMER is not set
+CONFIG_LEDS_GPIO=y
 # CONFIG_LEDS_WNDR3700_USB is not set
 # CONFIG_M25PXX_USE_FAST_READ is not set
 CONFIG_MARVELL_PHY=y
-- 
2.30.2