diff options
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 056a17a4f34f..1bdc39a8c76c 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -1020,7 +1020,6 @@ struct ff_effect { | |||
1020 | * @going_away: marks devices that are in a middle of unregistering and | 1020 | * @going_away: marks devices that are in a middle of unregistering and |
1021 | * causes input_open_device*() fail with -ENODEV. | 1021 | * causes input_open_device*() fail with -ENODEV. |
1022 | * @dev: driver model's view of this device | 1022 | * @dev: driver model's view of this device |
1023 | * @cdev: union for struct device pointer | ||
1024 | * @h_list: list of input handles associated with the device. When | 1023 | * @h_list: list of input handles associated with the device. When |
1025 | * accessing the list dev->mutex must be held | 1024 | * accessing the list dev->mutex must be held |
1026 | * @node: used to place the device onto input_dev_list | 1025 | * @node: used to place the device onto input_dev_list |
@@ -1085,9 +1084,6 @@ struct input_dev { | |||
1085 | int going_away; | 1084 | int going_away; |
1086 | 1085 | ||
1087 | struct device dev; | 1086 | struct device dev; |
1088 | union { /* temporarily so while we switching to struct device */ | ||
1089 | struct device *dev; | ||
1090 | } cdev; | ||
1091 | 1087 | ||
1092 | struct list_head h_list; | 1088 | struct list_head h_list; |
1093 | struct list_head node; | 1089 | struct list_head node; |
@@ -1311,6 +1307,9 @@ static inline void input_set_abs_params(struct input_dev *dev, int axis, int min | |||
1311 | dev->absbit[BIT_WORD(axis)] |= BIT_MASK(axis); | 1307 | dev->absbit[BIT_WORD(axis)] |= BIT_MASK(axis); |
1312 | } | 1308 | } |
1313 | 1309 | ||
1310 | int input_get_keycode(struct input_dev *dev, int scancode, int *keycode); | ||
1311 | int input_set_keycode(struct input_dev *dev, int scancode, int keycode); | ||
1312 | |||
1314 | extern struct class input_class; | 1313 | extern struct class input_class; |
1315 | 1314 | ||
1316 | /** | 1315 | /** |