summaryrefslogtreecommitdiff
path: root/package/kernel/linux
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/kernel/linux
parent2ddcd59f161defbb0529b194d16962c4a93b7b0a (diff)
downloadmtk-20170518-0571a1454b4a9b7c95dc429118534dac32c603e4.zip
mtk-20170518-0571a1454b4a9b7c95dc429118534dac32c603e4.tar.gz
mtk-20170518-0571a1454b4a9b7c95dc429118534dac32c603e4.tar.bz2
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/kernel/linux')
-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 1c2a789..c54dcc2 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