diff options
author | Mattia Dongili <malattia@linux.it> | 2011-02-19 11:52:27 +0900 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-03-28 06:05:24 -0400 |
commit | 4eeb50220a4efd8c33598a228d03aff203a7ad07 (patch) | |
tree | c265652de7d5a0c74e81e3b88676160ea54ad7a0 /include | |
parent | 54286fd0da36a51f4cefe669b70a284a799f3e45 (diff) | |
download | linux-4eeb50220a4efd8c33598a228d03aff203a7ad07.tar.gz linux-4eeb50220a4efd8c33598a228d03aff203a7ad07.tar.bz2 linux-4eeb50220a4efd8c33598a228d03aff203a7ad07.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sonypi.h b/include/linux/sonypi.h index 0e6dc3891942..c0f87da78f8a 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 |