diff options
-rw-r--r-- | drivers/char/keyboard.c | 2 | ||||
-rw-r--r-- | include/linux/input.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index 7f7e798c1384..d0369e05490a 100644 --- a/drivers/char/keyboard.c +++ b/drivers/char/keyboard.c | |||
@@ -46,6 +46,8 @@ | |||
46 | 46 | ||
47 | extern void ctrl_alt_del(void); | 47 | extern void ctrl_alt_del(void); |
48 | 48 | ||
49 | #define to_handle_h(n) container_of(n, struct input_handle, h_node) | ||
50 | |||
49 | /* | 51 | /* |
50 | * Exported functions/variables | 52 | * Exported functions/variables |
51 | */ | 53 | */ |
diff --git a/include/linux/input.h b/include/linux/input.h index 28a094fcfe20..eff711d8a459 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -1213,11 +1213,6 @@ struct input_handle { | |||
1213 | struct list_head h_node; | 1213 | struct list_head h_node; |
1214 | }; | 1214 | }; |
1215 | 1215 | ||
1216 | #define to_dev(n) container_of(n, struct input_dev, node) | ||
1217 | #define to_handler(n) container_of(n, struct input_handler, node) | ||
1218 | #define to_handle(n) container_of(n, struct input_handle, d_node) | ||
1219 | #define to_handle_h(n) container_of(n, struct input_handle, h_node) | ||
1220 | |||
1221 | struct input_dev *input_allocate_device(void); | 1216 | struct input_dev *input_allocate_device(void); |
1222 | void input_free_device(struct input_dev *dev); | 1217 | void input_free_device(struct input_dev *dev); |
1223 | 1218 | ||