Changeset 28354


Ignore:
Timestamp:
2011-10-03T05:04:11+02:00 (6 years ago)
Author:
cshore
Message:

The name gpio-cs5535 used to refer to the drivers/char/ module, but in 3.1 it refers to what had been drivers/gpio/cs5535-gpio in more recent kernels.
Philip Prindeville - 2011-08-29 04:55:59

File:
1 edited

Legend:

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

    r27983 r28354  
    161161  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32) 
    162162  KCONFIG:=CONFIG_GPIO_CS5535 
     163ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.1.0)),1) 
     164  FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cs5535.ko 
     165  AUTOLOAD:=$(call AutoLoad,50,gpio-cs5535) 
     166else 
    163167  FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko 
    164168  AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio) 
     169endif 
    165170endef 
    166171 
Note: See TracChangeset for help on using the changeset viewer.