aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMattia Dongili <malattia@linux.it>2011-02-19 11:52:27 +0900
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:05:24 -0400
commit4eeb50220a4efd8c33598a228d03aff203a7ad07 (patch)
treec265652de7d5a0c74e81e3b88676160ea54ad7a0 /include
parent54286fd0da36a51f4cefe669b70a284a799f3e45 (diff)
sony-laptop: ignore hard switch rfkill events (SPIC)
There is not much use for these events in userspace and handling the events themselves seems to get in the way of the actual activation of the rf devices. The SNC device doesn't expose them already. https://bugzilla.kernel.org/show_bug.cgi?id=15303 Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sonypi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sonypi.h b/include/linux/sonypi.h
index 0e6dc389194..c0f87da78f8 100644
--- a/include/linux/sonypi.h
+++ b/include/linux/sonypi.h
@@ -40,6 +40,7 @@
/* events the user application reading /dev/sonypi can use */
+#define SONYPI_EVENT_IGNORE 0
#define SONYPI_EVENT_JOGDIAL_DOWN 1
#define SONYPI_EVENT_JOGDIAL_UP 2
#define SONYPI_EVENT_JOGDIAL_DOWN_PRESSED 3