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 <nolt...@gmail.com>
---
diff --git a/package/kernel/linux/modules/spi.mk 
b/package/kernel/linux/modules/spi.mk
index 1c2a789..c54dcc2 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
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to