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
346346 * @timestamp: estimate of time of status change occurrence, in nanoseconds
347347 * @event_type: one of GPIOLINE_CHANGED_REQUESTED, GPIOLINE_CHANGED_RELEASED
348348 * and GPIOLINE_CHANGED_CONFIG
349+ * @padding: reserved for future use
349350 *
350351 * Note: struct gpioline_info embedded here has 32-bit alignment on its own,
351352 * 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
469470 int fd;
470471 };
471472
472−/**
473+/*
473474 * GPIO event types
474475 */
475476 #define GPIOEVENT_EVENT_RISING_EDGE 0x01