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
This commit is contained in:
Florian Fainelli 2014-05-20 04:50:34 +00:00
parent 2ddcd59f16
commit 0571a1454b

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