From: Florian Fainelli Date: Tue, 20 May 2014 04:50:34 +0000 (+0000) Subject: kernel: Enable CONFIG_SPI_SPIDEV when selecting kmod-spidev X-Git-Tag: reboot~7242 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0571a1454b4a9b7c95dc429118534dac32c603e4;p=openwrt%2Fstaging%2Fjogo.git 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 Signed-off-by: Florian Fainelli SVN-Revision: 40784 --- 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