Input: add switch for dock events
authorMatthew Garrett <mjg59@srcf.ucam.org>
Sat, 19 Jul 2008 04:43:54 +0000 (00:43 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Jul 2008 04:52:43 +0000 (00:52 -0400)
commit92c49890922d54cba4b1eadeb0b185773c2c9570
treec2b7282369361dd9e4ce22122771e7f31859d84f
parent5ec461d083066441c1a280aa9e13d3bb5c3e008a
Input: add switch for dock events

Add a SW_DOCK switch to input.h.  ACPI docks currently send their docking
status as a uevent, but not all docks are ACPI or correspond to a device.
In that case, it makes more sense to simply generate an input event on
docking or undocking.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/input.h