add autoload for spi-ks8995
[openwrt.git] / package / spi-ks8995 / Makefile
index 4bb6d9b..f464750 100644 (file)
@@ -16,9 +16,11 @@ include $(INCLUDE_DIR)/package.mk
 define KernelPackage/spi-ks8995
   SUBMENU:=Other modules
   TITLE:=Micrel/Kendin KS8995 Ethernet switch control
-  DEPENDS:=@LINUX_2_6 +kmod-spi
+  DEPENDS:=@LINUX_2_6
   FILES:=$(PKG_BUILD_DIR)/spi_ks8995.$(LINUX_KMOD_SUFFIX)
-  KCONFIG:=
+  KCONFIG:=CONFIG_SPI=y \
+       CONFIG_SPI_MASTER=y
+  AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
 endef
 
 define KernelPackage/spi-ks8995/description
This page took 0.02397 seconds and 4 git commands to generate.