From: Florian Fainelli Date: Wed, 25 Jul 2012 15:50:04 +0000 (+0000) Subject: move target specific spi modules X-Git-Tag: reboot~13283 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=23ffbad6026d0454b375ebe62db16c9490231241;p=oweals%2Fopenwrt.git move target specific spi modules SVN-Revision: 32853 --- diff --git a/package/kernel/modules/spi.mk b/package/kernel/modules/spi.mk index fc7bce559a..416209825f 100644 --- a/package/kernel/modules/spi.mk +++ b/package/kernel/modules/spi.mk @@ -88,18 +88,3 @@ endef $(eval $(call KernelPackage,spi-dev)) - -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)) diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk index 18f0c4ae50..9b061d55b0 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))