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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40784 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2014-05-20 04:50:34 +00:00
parent dfcb7cbb0c
commit 7fc54f8fb7
1 changed files with 1 additions and 1 deletions

View File

@ -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