aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index e075c4b762fb..3e86b61d2e4c 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -373,6 +373,8 @@ struct input_absinfo {
373 373
374#define KEY_WIMAX 246 374#define KEY_WIMAX 246
375 375
376/* Range 248 - 255 is reserved for special needs of AT keyboard driver */
377
376#define BTN_MISC 0x100 378#define BTN_MISC 0x100
377#define BTN_0 0x100 379#define BTN_0 0x100
378#define BTN_1 0x101 380#define BTN_1 0x101
@@ -1215,11 +1217,6 @@ struct input_handle {
1215 struct list_head h_node; 1217 struct list_head h_node;
1216}; 1218};
1217 1219
1218#define to_dev(n) container_of(n, struct input_dev, node)
1219#define to_handler(n) container_of(n, struct input_handler, node)
1220#define to_handle(n) container_of(n, struct input_handle, d_node)
1221#define to_handle_h(n) container_of(n, struct input_handle, h_node)
1222
1223struct input_dev *input_allocate_device(void); 1220struct input_dev *input_allocate_device(void);
1224void input_free_device(struct input_dev *dev); 1221void input_free_device(struct input_dev *dev);
1225 1222