Changeset 29995


Ignore:
Timestamp:
2012-02-02T19:44:35+01:00 (6 years ago)
Author:
jow
Message:

[PATCH 1/2] geos: cleanup GPIO driver name
In 3.1, the old drivers/char/ entry for the CS5535 GPIO driver went obsolete.
Make Geos use a recent kernel and remove this ambiguity.
[Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1815/]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/x86/geos/target.mk

    r27743 r29995  
     1LINUX_VERSION:=3.2.2 
    12BOARDNAME:=Traverse Geos 
    23FEATURES:=squashfs jffs2 ext4 pci usb gpio 
    3 GEOS_GPIO = $(if $(findstring 2.6.32,$(LINUX_VERSION)),gpio-cs5535,gpio-cs5535-new) 
    44DEFAULT_PACKAGES += \ 
    55            kmod-crypto-hw-geode kmod-crypto-ocf \ 
    6             kmod-$(GEOS_GPIO) kmod-gpio-nsc \ 
     6            kmod-gpio-cs5535-new kmod-gpio-nsc \ 
    77            kmod-wdt-geode kmod-cs5535-clockevt kmod-cs5535-mfgpt \ 
    88            kmod-cs5536 \ 
     
    3131endef 
    3232 
    33 define KernelPackage/$(GEOS_GPIO)/install 
    34      sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-$(GEOS_GPIO) 
     33define KernelPackage/gpio-cs5535-new/install 
     34     sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-gpio-cs5535-new 
    3535endef 
Note: See TracChangeset for help on using the changeset viewer.