summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/olpc.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2008-01-14 22:13:35 -0500
committerAndres Salomon <dilinger@debian.org>2008-01-15 18:46:08 -0500
commitb7d12f82913cdaf40f527628c5957bb0eae67fc2 (patch)
treeb5b1553e66aa71feaf04803b5cbd84809042d009 /drivers/input/mouse/olpc.h
parentd003b3ef1db32f7e882280e012b2deb085922ca0 (diff)
downloadlwn-b7d12f82913cdaf40f527628c5957bb0eae67fc2.tar.gz
lwn-b7d12f82913cdaf40f527628c5957bb0eae67fc2.zip
OLPC: psmouse: add support for powering down touchpad
Done via a sysfs toggle. Userspace ftw! Signed-off-by: Andres Salomon <dilinger@debian.org>
Diffstat (limited to 'drivers/input/mouse/olpc.h')
-rw-r--r--drivers/input/mouse/olpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/olpc.h b/drivers/input/mouse/olpc.h
index ff0839f3b904..f7d0cbca4965 100644
--- a/drivers/input/mouse/olpc.h
+++ b/drivers/input/mouse/olpc.h
@@ -44,6 +44,7 @@ struct hgpk_data {
s64 late;
int axis_errors;
int repeat_pkts;
+ int powered;
struct delayed_work switch_wq;
struct delayed_work recalib_wq;
};