summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-25 15:50:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-25 15:50:04 +0000
commit23ffbad6026d0454b375ebe62db16c9490231241 (patch)
tree751b293f59cf2055ad413ea2fffdae4d2d99b44c /target
parent1859500829c1e10132cb26b31990520a04113c28 (diff)
downloadmtk-20170518-23ffbad6026d0454b375ebe62db16c9490231241.zip
mtk-20170518-23ffbad6026d0454b375ebe62db16c9490231241.tar.gz
mtk-20170518-23ffbad6026d0454b375ebe62db16c9490231241.tar.bz2
move target specific spi modules
SVN-Revision: 32853
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/modules.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk
index 18f0c4a..9b061d5 100644
--- a/target/linux/ar71xx/modules.mk
+++ b/target/linux/ar71xx/modules.mk
@@ -35,3 +35,19 @@ define KernelPackage/leds-wndr3700-usb/description
endef
$(eval $(call KernelPackage,leds-wndr3700-usb))
+
+
+define KernelPackage/spi-vsc7385
+ SUBMENU:=$(SPI_MENU)
+ TITLE:=Vitesse VSC7385 ethernet switch driver
+ DEPENDS:=@TARGET_ar71xx
+ KCONFIG:=CONFIG_SPI_VSC7385
+ FILES:=$(LINUX_DIR)/drivers/spi/spi-vsc7385.ko
+ AUTOLOAD:=$(call AutoLoad,93,spi-vsc7385)
+endef
+
+define KernelPackage/spi-vsc7385/description
+ This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
+endef
+
+$(eval $(call KernelPackage,spi-vsc7385))