diff --git a/package/kernel/modules/spi.mk b/package/kernel/modules/spi.mk index ff24d9f663..0fac5a81ed 100644 --- a/package/kernel/modules/spi.mk +++ b/package/kernel/modules/spi.mk @@ -104,8 +104,8 @@ define KernelPackage/spi-vsc7385 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) + FILES:=$(LINUX_DIR)/drivers/spi/spi-vsc7385.ko + AUTOLOAD:=$(call AutoLoad,93,spi-vsc7385) endef define KernelPackage/spi-vsc7385/description diff --git a/target/linux/ar71xx/files/drivers/spi/spi_vsc7385.c b/target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c similarity index 100% rename from target/linux/ar71xx/files/drivers/spi/spi_vsc7385.c rename to target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c diff --git a/target/linux/ar71xx/patches-2.6.39/202-spi_vsc7385_driver.patch b/target/linux/ar71xx/patches-2.6.39/202-spi_vsc7385_driver.patch index 8409fe0850..a98d940ef8 100644 --- a/target/linux/ar71xx/patches-2.6.39/202-spi_vsc7385_driver.patch +++ b/target/linux/ar71xx/patches-2.6.39/202-spi_vsc7385_driver.patch @@ -18,7 +18,7 @@ # SPI protocol drivers (device/link on bus) obj-$(CONFIG_SPI_RB4XX_CPLD) += spi-rb4xx-cpld.o obj-$(CONFIG_SPI_SPIDEV) += spidev.o -+obj-$(CONFIG_SPI_VSC7385) += spi_vsc7385.o ++obj-$(CONFIG_SPI_VSC7385) += spi-vsc7385.o obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o # ... add above this line ...