mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
gpio: Properly document parent data union
Suppress a warning in the html docs by documenting these fields separately. Signed-off-by: Joey Gouly <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/ Cc: Linus Walleij <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Stephen Rothwell <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
This commit is contained in:
1 parent
576892a84f
commit
48ec13d36d
1 file changed
+8
-5
@@ -168,13 +168,16 @@ struct gpio_irq_chip {
|
||||
|
||||
/**
|
||||
* @parent_handler_data:
|
||||
*
|
||||
* If @per_parent_data is false, @parent_handler_data is a single
|
||||
* pointer used as the data associated with every parent interrupt.
|
||||
*
|
||||
* @parent_handler_data_array:
|
||||
*
|
||||
* Data associated, and passed to, the handler for the parent
|
||||
* interrupt. Can either be a single pointer if @per_parent_data
|
||||
* is false, or an array of @num_parents pointers otherwise. If
|
||||
* @per_parent_data is true, @parent_handler_data_array cannot be
|
||||
* NULL.
|
||||
* If @per_parent_data is true, @parent_handler_data_array is
|
||||
* an array of @num_parents pointers, and is used to associate
|
||||
* different data for each parent. This cannot be NULL if
|
||||
* @per_parent_data is true.
|
||||
*/
|
||||
union {
|
||||
void *parent_handler_data;
|
||||
|
||||
Reference in new issue
Block a user