From bd50216764f2cee8964ce44ee9dc70c10d3b1d85 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Fri, 20 Apr 2012 13:25:17 +0000
Subject: [PATCH] button-hotplug: prevent build on 2.6.30

SVN-Revision: 31362
---
 package/button-hotplug/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/button-hotplug/Makefile b/package/button-hotplug/Makefile
index 35ea6d411e..1aa268f2bd 100644
--- a/package/button-hotplug/Makefile
+++ b/package/button-hotplug/Makefile
@@ -16,6 +16,7 @@ include $(INCLUDE_DIR)/package.mk
 define KernelPackage/button-hotplug
   SUBMENU:=Other modules
   TITLE:=Button Hotplug driver
+  DEPENDS:=@!LINUX_2_6_30
   FILES:=$(PKG_BUILD_DIR)/button-hotplug.ko
   AUTOLOAD:=$(call AutoLoad,30,button-hotplug)
   KCONFIG:=
-- 
2.30.2