aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h4
-rw-r--r--include/linux/wm97xx.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index af9c6314153b..3e86b61d2e4c 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -639,7 +639,9 @@ struct input_absinfo {
639#define SW_LID 0x00 /* set = lid shut */ 639#define SW_LID 0x00 /* set = lid shut */
640#define SW_TABLET_MODE 0x01 /* set = tablet mode */ 640#define SW_TABLET_MODE 0x01 /* set = tablet mode */
641#define SW_HEADPHONE_INSERT 0x02 /* set = inserted */ 641#define SW_HEADPHONE_INSERT 0x02 /* set = inserted */
642#define SW_RADIO 0x03 /* set = radio enabled */ 642#define SW_RFKILL_ALL 0x03 /* rfkill master switch, type "any"
643 set = radio enabled */
644#define SW_RADIO SW_RFKILL_ALL /* deprecated */
643#define SW_MAX 0x0f 645#define SW_MAX 0x0f
644#define SW_CNT (SW_MAX+1) 646#define SW_CNT (SW_MAX+1)
645 647
diff --git a/include/linux/wm97xx.h b/include/linux/wm97xx.h
index 4d13732e9cf0..6f69968eab24 100644
--- a/include/linux/wm97xx.h
+++ b/include/linux/wm97xx.h
@@ -100,6 +100,7 @@
100#define WM9713_ADCSEL_Y 0x0004 /* Y measurement */ 100#define WM9713_ADCSEL_Y 0x0004 /* Y measurement */
101#define WM9713_ADCSEL_PRES 0x0008 /* Pressure measurement */ 101#define WM9713_ADCSEL_PRES 0x0008 /* Pressure measurement */
102#define WM9713_COO 0x0001 /* enable coordinate mode */ 102#define WM9713_COO 0x0001 /* enable coordinate mode */
103#define WM9713_45W 0x1000 /* set for 5 wire panel */
103#define WM9713_PDEN 0x0800 /* measure only when pen down */ 104#define WM9713_PDEN 0x0800 /* measure only when pen down */
104#define WM9713_ADCSEL_MASK 0x00fe /* ADC selection mask */ 105#define WM9713_ADCSEL_MASK 0x00fe /* ADC selection mask */
105#define WM9713_WAIT 0x0200 /* coordinate wait */ 106#define WM9713_WAIT 0x0200 /* coordinate wait */