We've had the situation:

define KernelPackage/gpio-cs5535
  SUBMENU:=$(OTHER_MENU)
  TITLE:=AMD CS5535/CS5536 GPIO driver
  DEPENDS:=@TARGET_x86 
@LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
  KCONFIG:=CONFIG_CS5535_GPIO
  FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
  AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
endef

define KernelPackage/gpio-cs5535/description
 This package contains the AMD CS5535/CS5536 GPIO driver
endef

$(eval $(call KernelPackage,gpio-cs5535))


define KernelPackage/gpio-cs5535-new
  SUBMENU:=$(OTHER_MENU)
  TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd 
@!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32)
  KCONFIG:=CONFIG_GPIO_CS5535
  FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
  AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
endef

define KernelPackage/gpio-cs5535-new/description
 This package contains the new AMD CS5535/CS5536 GPIO driver
endef

$(eval $(call KernelPackage,gpio-cs5535-new))


well, it gets better...

Now it seems that the drivers/gpio/cs5535-gpio.c driver has been 
drivers/gpio/gpio-cs5535.c in 3.1!

I'm out of ideas on how to handle this...

Anyone?

-Philip
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to