X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Flinux%2Fmodules%2Fspi.mk;h=01dc7dc7e6070512543c0f23bb7c81a9229d51c5;hb=103335644265d96c656a7de3d5994fbd11246300;hp=435fd74b11c5b0b15dc2a39173207da92803efca;hpb=7642a4eeaaf61b29337021b9bd1df01a4384a242;p=openwrt%2Fopenwrt.git diff --git a/package/kernel/linux/modules/spi.mk b/package/kernel/linux/modules/spi.mk index 435fd74b11..01dc7dc7e6 100644 --- a/package/kernel/linux/modules/spi.mk +++ b/package/kernel/linux/modules/spi.mk @@ -17,7 +17,7 @@ define KernelPackage/mmc-spi FILES:=\ $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/mmc/host/of_mmc_spi.ko) \ $(LINUX_DIR)/drivers/mmc/host/mmc_spi.ko - AUTOLOAD:=$(call AutoLoad,90,$(if $(CONFIG_OF),of_mmc_spi) mmc_spi) + AUTOLOAD:=$(call AutoProbe,$(if $(CONFIG_OF),of_mmc_spi) mmc_spi) endef define KernelPackage/mmc-spi/description @@ -34,7 +34,6 @@ define KernelPackage/spi-bitbang CONFIG_SPI=y \ CONFIG_SPI_MASTER=y FILES:=$(LINUX_DIR)/drivers/spi/spi-bitbang.ko - AUTOLOAD:=$(call AutoLoad,91,spi-bitbang) endef define KernelPackage/spi-bitbang/description @@ -44,28 +43,13 @@ 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 AutoLoad,92,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 DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang KCONFIG:=CONFIG_SPI_GPIO FILES:=$(LINUX_DIR)/drivers/spi/spi-gpio.ko - AUTOLOAD:=$(call AutoLoad,92,spi-gpio) + AUTOLOAD:=$(call AutoProbe,spi-gpio) endef define KernelPackage/spi-gpio/description @@ -81,7 +65,7 @@ define KernelPackage/spi-dev CONFIG_SPI=y \ CONFIG_SPI_MASTER=y FILES:=$(LINUX_DIR)/drivers/spi/spidev.ko - AUTOLOAD:=$(call AutoLoad,93,spidev) + AUTOLOAD:=$(call AutoProbe,spidev) endef define KernelPackage/spi-dev/description @@ -89,4 +73,3 @@ define KernelPackage/spi-dev/description endef $(eval $(call KernelPackage,spi-dev)) -