Selaa lähdekoodia

kernel: add references to openwrt alternative button handling

Add documentation that makes it easier to find the alternative,
recommended, and default handling for buttons in OpenWrt.

Signed-off-by: Karl Palsson <[email protected]>

SVN-Revision: 43989
John Crispin 11 vuotta sitten
vanhempi
sitoutus
03a708a0db
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      package/kernel/linux/modules/input.mk

+ 6 - 0
package/kernel/linux/modules/input.mk

@@ -82,6 +82,9 @@ endef
 define KernelPackage/input-gpio-keys/description
 define KernelPackage/input-gpio-keys/description
  This driver implements support for buttons connected
  This driver implements support for buttons connected
  to GPIO pins of various CPUs (and some other chips).
  to GPIO pins of various CPUs (and some other chips).
+
+ See also gpio-button-hotplug which is an alternative, lower overhead
+ implementation that generates uevents instead of kernel input events.
 endef
 endef
 
 
 $(eval $(call KernelPackage,input-gpio-keys))
 $(eval $(call KernelPackage,input-gpio-keys))
@@ -101,6 +104,9 @@ endef
 
 
 define KernelPackage/input-gpio-keys-polled/description
 define KernelPackage/input-gpio-keys-polled/description
  Kernel module for support polled GPIO keys input device
  Kernel module for support polled GPIO keys input device
+
+ See also gpio-button-hotplug which is an alternative, lower overhead
+ implementation that generates uevents instead of kernel input events.
 endef
 endef
 
 
 $(eval $(call KernelPackage,input-gpio-keys-polled))
 $(eval $(call KernelPackage,input-gpio-keys-polled))