Changeset 28724


Ignore:
Timestamp:
2011-11-03T16:16:50+01:00 (6 years ago)
Author:
blogic
Message:

modules: fixes ko files that were renamed in 3.1

Location:
trunk/package/kernel/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/i2c.mk

    r28399 r28724  
    294294$(eval $(call KernelPackage,i2c-mux-pca9541)) 
    295295 
     296ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.1.0)),1) 
     297GPIO_PCA953X_MODULES:= \ 
     298  CONFIG_GPIO_PCA953X:drivers/gpio/gpio-pca953x 
     299else 
    296300GPIO_PCA953X_MODULES:= \ 
    297301  CONFIG_GPIO_PCA953X:drivers/gpio/pca953x 
     302endif 
    298303 
    299304define KernelPackage/pca953x 
     
    309314$(eval $(call KernelPackage,pca953x)) 
    310315 
     316ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.1.0)),1) 
     317GPIO_PCF857X_MODULES:= \ 
     318  CONFIG_GPIO_PCF857X:drivers/gpio/gpio-pcf857x 
     319else 
    311320GPIO_PCF857X_MODULES:= \ 
    312321  CONFIG_GPIO_PCF857X:drivers/gpio/pcf857x 
     322endif 
    313323 
    314324define KernelPackage/pcf857x 
  • trunk/package/kernel/modules/spi.mk

    r28656 r28724  
    6363  DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang 
    6464  KCONFIG:=CONFIG_SPI_GPIO 
     65ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.1.0)),1) 
     66  FILES:=$(LINUX_DIR)/drivers/spi/spi-gpio.ko 
     67  AUTOLOAD:=$(call AutoLoad,92,spi-gpio) 
     68else 
    6569  FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio.ko 
    6670  AUTOLOAD:=$(call AutoLoad,92,spi_gpio) 
     71endif 
    6772endef 
    6873 
Note: See TracChangeset for help on using the changeset viewer.