diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/input.h | 4 | ||||
-rw-r--r-- | include/linux/list.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index f30da6fc08e3..219d220d185b 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -1005,13 +1005,15 @@ struct ff_effect { | |||
1005 | * @going_away: marks devices that are in a middle of unregistering and | 1005 | * @going_away: marks devices that are in a middle of unregistering and |
1006 | * causes input_open_device*() fail with -ENODEV. | 1006 | * causes input_open_device*() fail with -ENODEV. |
1007 | * @dev: driver model's view of this device | 1007 | * @dev: driver model's view of this device |
1008 | * @cdev: union for struct device pointer | ||
1008 | * @h_list: list of input handles associated with the device. When | 1009 | * @h_list: list of input handles associated with the device. When |
1009 | * accessing the list dev->mutex must be held | 1010 | * accessing the list dev->mutex must be held |
1010 | * @node: used to place the device onto input_dev_list | 1011 | * @node: used to place the device onto input_dev_list |
1011 | */ | 1012 | */ |
1012 | struct input_dev { | 1013 | struct input_dev { |
1013 | 1014 | /* private: */ | |
1014 | void *private; /* do not use */ | 1015 | void *private; /* do not use */ |
1016 | /* public: */ | ||
1015 | 1017 | ||
1016 | const char *name; | 1018 | const char *name; |
1017 | const char *phys; | 1019 | const char *phys; |
diff --git a/include/linux/list.h b/include/linux/list.h index b0cf0135fe3e..75ce2cb4ff6e 100644 --- a/include/linux/list.h +++ b/include/linux/list.h | |||
@@ -478,8 +478,7 @@ static inline void list_splice_init_rcu(struct list_head *list, | |||
478 | pos = n, n = pos->next) | 478 | pos = n, n = pos->next) |
479 | 479 | ||
480 | /** | 480 | /** |
481 | * list_for_each_prev_safe - iterate over a list backwards safe against removal | 481 | * list_for_each_prev_safe - iterate over a list backwards safe against removal of list entry |
482 | of list entry | ||
483 | * @pos: the &struct list_head to use as a loop cursor. | 482 | * @pos: the &struct list_head to use as a loop cursor. |
484 | * @n: another &struct list_head to use as temporary storage | 483 | * @n: another &struct list_head to use as temporary storage |
485 | * @head: the head for your list. | 484 | * @head: the head for your list. |