History

gpio: uapi: fix kernel-doc warnings

Fix kernel-doc warnings, specifically gpioline_info_changed.padding is not documented and 'GPIO event types' describes defines, which are not documented by kernel-doc.

Kent Gibson committed 6 years ago

Commit 57606481 parent 3650b221 file · +2 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/gpio.h+2−1
@@ -346,6 +346,7 @@ enum { · 345 unmodified lines
346 * @timestamp: estimate of time of status change occurrence, in nanoseconds346 * @timestamp: estimate of time of status change occurrence, in nanoseconds
347 * @event_type: one of GPIOLINE_CHANGED_REQUESTED, GPIOLINE_CHANGED_RELEASED347 * @event_type: one of GPIOLINE_CHANGED_REQUESTED, GPIOLINE_CHANGED_RELEASED
348 * and GPIOLINE_CHANGED_CONFIG348 * and GPIOLINE_CHANGED_CONFIG
349 * @padding: reserved for future use
349 *350 *
350 * Note: struct gpioline_info embedded here has 32-bit alignment on its own,351 * Note: struct gpioline_info embedded here has 32-bit alignment on its own,
351 * but it works fine with 64-bit alignment too. With its 72 byte size, we can352 * but it works fine with 64-bit alignment too. With its 72 byte size, we can
@@ -469,7 +470,7 @@ struct gpioevent_request { · 117 unmodified lines
469 int fd;470 int fd;
470};471};
471 472
472/**473/*
473 * GPIO event types474 * GPIO event types
474 */475 */
475#define GPIOEVENT_EVENT_RISING_EDGE 0x01476#define GPIOEVENT_EVENT_RISING_EDGE 0x01