Hi,

I added support to build a package containing the cs5535_gpio.ko module.
 This is needed for my Alix 6b2 to switch GPIO pin 1 to select the SIM
holder used for 3G connections.

bye,
Markus

Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk	(revision 13915)
+++ package/kernel/modules/other.mk	(working copy)
@@ -721,3 +721,18 @@
 endef
 
 $(eval $(call KernelPackage,spi-dev))
+
+define KernelPackage/cs5535-gpio
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=AMD CS5535/CS5536 GPIO driver
+  DEPENDS:=...@linux_2_6
+  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))
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to