aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-05-20 04:50:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-05-20 04:50:34 +0000
commit0571a1454b4a9b7c95dc429118534dac32c603e4 (patch)
tree289580f044d48d610c3f5364da94e0551a92abf9 /package
parent2ddcd59f161defbb0529b194d16962c4a93b7b0a (diff)
downloadupstream-0571a1454b4a9b7c95dc429118534dac32c603e4.tar.gz
upstream-0571a1454b4a9b7c95dc429118534dac32c603e4.tar.bz2
upstream-0571a1454b4a9b7c95dc429118534dac32c603e4.zip
kernel: Enable CONFIG_SPI_SPIDEV when selecting kmod-spidev
Without this patch /dev/spidev*.* only appears if CONFIG_SPI_SPIDEV is manually selected and set to "y" from the kernel config. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 40784
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/spi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk
index 1c2a789fed..c54dcc2d2a 100644
--- a/package/kernel/linux/modules/spi.mk
+++ b/package/kernel/linux/modules/spi.mk
@@ -77,7 +77,7 @@ $(eval $(call KernelPackage,spi-gpio))
define KernelPackage/spi-dev
SUBMENU:=$(SPI_MENU)
TITLE:=User mode SPI device driver
- KCONFIG:=CONFIG_SPI_SPIDEV \
+ KCONFIG:=CONFIG_SPI_SPIDEV=y \
CONFIG_SPI=y \
CONFIG_SPI_MASTER=y
FILES:=$(LINUX_DIR)/drivers/spi/spidev.ko