From 7fc54f8fb7f04ce8a44ba2313751ad32712f9c96 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 20 May 2014 04:50:34 +0000 Subject: [PATCH] kernel: Enable CONFIG_SPI_SPIDEV when selecting kmod-spidev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40784 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/linux/modules/spi.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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