prefer the cs5535 gpiolib driver after 2.6.32

SVN-Revision: 23728
owl
Florian Fainelli 2010-10-30 22:35:54 +00:00
parent eace922392
commit 3403d66f43
1 changed files with 7 additions and 1 deletions

View File

@ -167,9 +167,15 @@ define KernelPackage/gpio-cs5535
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=AMD CS5535/CS5536 GPIO driver TITLE:=AMD CS5535/CS5536 GPIO driver
DEPENDS:=@TARGET_x86 DEPENDS:=@TARGET_x86
KCONFIG:=CONFIG_CS5535_GPIO KCONFIG:=CONFIG_CS5535_GPIO \
CONFIG_GPIO_CS5535
ifeq ($(CONFIG_LINUX_2_6_32),y)
FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio) AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
else
FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
endif
endef endef
define KernelPackage/gpio-cs5535/description define KernelPackage/gpio-cs5535/description