aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-04-29 17:21:08 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-04-29 17:21:08 +0000
commit4006f2fbdd4fd0eab2a8c0a582261be1098028b4 (patch)
treeb3e69b2bc1e25277b294b7ee547085aba84d4ba9 /package/kernel/modules
parent363c6e196ad7c6c78534d040f9d0cc5eff4351e5 (diff)
downloadupstream-4006f2fbdd4fd0eab2a8c0a582261be1098028b4.tar.gz
upstream-4006f2fbdd4fd0eab2a8c0a582261be1098028b4.tar.bz2
upstream-4006f2fbdd4fd0eab2a8c0a582261be1098028b4.zip
kernel/modules: make use the new GPIO_SUPPORT option
SVN-Revision: 10980
Diffstat (limited to 'package/kernel/modules')
-rw-r--r--package/kernel/modules/i2c.mk2
-rw-r--r--package/kernel/modules/other.mk6
2 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk
index 687fa9fb29..eaf3667a4d 100644
--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -79,7 +79,7 @@ $(eval $(call KernelPackage,i2c-algo-pcf))
define KernelPackage/i2c-gpio
SUBMENU:=$(I2C_MENU)
TITLE:=GPIO-based bitbanging I2C
- DEPENDS:=kmod-i2c-core +kmod-i2c-algo-bit
+ DEPENDS:=@GPIO_SUPPORT kmod-i2c-core +kmod-i2c-algo-bit
KCONFIG:=CONFIG_I2C_GPIO
FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-gpio.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,59,i2c-gpio)
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 11ef57219b..bf674644d4 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -294,7 +294,7 @@ $(eval $(call KernelPackage,softdog))
define KernelPackage/leds-gpio
SUBMENU:=$(OTHER_MENU)
TITLE:=GPIO LED support
- DEPENDS:=@TARGET_adm5120
+ DEPENDS:= @GPIO_SUPPORT
KCONFIG:=CONFIG_LEDS_GPIO
FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
@@ -533,7 +533,7 @@ $(eval $(call KernelPackage,input-polldev))
define KernelPackage/input-gpio-buttons
SUBMENU:=$(OTHER_MENU)
TITLE:=Polled GPIO buttons input device
- DEPENDS:=+kmod-input-polldev @LINUX_2_6
+ DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
KCONFIG:= \
CONFIG_INPUT_GPIO_BUTTONS \
CONFIG_INPUT_MISC=y
@@ -611,7 +611,7 @@ $(eval $(call KernelPackage,spi-bitbang))
define KernelPackage/spi-gpio
SUBMENU:=$(OTHER_MENU)
TITLE:=GPIO based bitbanging SPI controller
- DEPENDS:=@LINUX_2_6 +kmod-spi-bitbang
+ DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
KCONFIG:=CONFIG_SPI_GPIO
FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,92,spi_gpio)