X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Flinux%2Fmodules%2Fspi.mk;h=01dc7dc7e6070512543c0f23bb7c81a9229d51c5;hb=103335644265d96c656a7de3d5994fbd11246300;hp=c54dcc2d2ac0a0cb024df5fb0bd3f2a2c96733c6;hpb=0571a1454b4a9b7c95dc429118534dac32c603e4;p=openwrt%2Fopenwrt.git diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index c54dcc2d2a..01dc7dc7e6 100644 --- a/package/kernel/linux/modules/spi.mk +++ b/package/kernel/linux/modules/spi.mk @@ -43,22 +43,6 @@ endef $(eval $(call KernelPackage,spi-bitbang)) -define KernelPackage/spi-gpio-old - SUBMENU:=$(SPI_MENU) - TITLE:=Old GPIO based bitbanging SPI controller (DEPRECATED) - DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang - KCONFIG:=CONFIG_SPI_GPIO_OLD - FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio_old.ko - AUTOLOAD:=$(call AutoProbe,spi_gpio_old) -endef - -define KernelPackage/spi-gpio-old/description - This package contains the GPIO based bitbanging SPI controller driver -endef - -$(eval $(call KernelPackage,spi-gpio-old)) - - define KernelPackage/spi-gpio SUBMENU:=$(SPI_MENU) TITLE:=GPIO-based bitbanging SPI Master @@ -77,7 +61,7 @@ $(eval $(call KernelPackage,spi-gpio)) define KernelPackage/spi-dev SUBMENU:=$(SPI_MENU) TITLE:=User mode SPI device driver - KCONFIG:=CONFIG_SPI_SPIDEV=y \ + KCONFIG:=CONFIG_SPI_SPIDEV \ CONFIG_SPI=y \ CONFIG_SPI_MASTER=y FILES:=$(LINUX_DIR)/drivers/spi/spidev.ko