kernel: added GPIO driver for CS5535/CS5536 companion chip. Thanks Markus Wigge
authorAndy Boyett <agb@openwrt.org>
Wed, 7 Jan 2009 11:07:51 +0000 (11:07 +0000)
committerAndy Boyett <agb@openwrt.org>
Wed, 7 Jan 2009 11:07:51 +0000 (11:07 +0000)
SVN-Revision: 13920

package/kernel/modules/other.mk

index 0409db748c4e4862014e244d534465c64912fd3e..f141a3109f4d771ed4dda25fbb1e027fc4f255ca 100644 (file)
@@ -721,3 +721,18 @@ define KernelPackage/spi-dev/description
 endef
 
 $(eval $(call KernelPackage,spi-dev))
+
+define KernelPackage/cs5535-gpio
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=AMD CS5535/CS5536 GPIO driver
+  DEPENDS:=@LINUX_2_6 @TARGET_x86
+  KCONFIG:=CONFIG_CS5535_GPIO
+  FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
+endef
+
+define KernelPackage/cs5535-gpio/description
+ This package contains the AMD CS5535/CS5536 GPIO driver
+endef
+
+$(eval $(call KernelPackage,cs5535-gpio))