From 0571a1454b4a9b7c95dc429118534dac32c603e4 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
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=utf8
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 <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40784
---
 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
-- 
2.30.2