From 57ecc14c4d7f6408062403484f800f78c0dda25c Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 17 Nov 2017 17:49:37 +0100 Subject: core: change the prefix for line request flags Make it clear that these are flags and that more than one can be used simultaneously. Signed-off-by: Bartosz Golaszewski --- include/gpiod.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/gpiod.h b/include/gpiod.h index 747a226..bef018f 100644 --- a/include/gpiod.h +++ b/include/gpiod.h @@ -664,11 +664,11 @@ enum { * @brief Miscellaneous GPIO request flags. */ enum { - GPIOD_LINE_REQUEST_OPEN_DRAIN = GPIOD_BIT(0), + GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN = GPIOD_BIT(0), /**< The line is an open-drain port. */ - GPIOD_LINE_REQUEST_OPEN_SOURCE = GPIOD_BIT(1), + GPIOD_LINE_REQUEST_FLAG_OPEN_SOURCE = GPIOD_BIT(1), /**< The line is an open-source port. */ - GPIOD_LINE_REQUEST_ACTIVE_LOW = GPIOD_BIT(2), + GPIOD_LINE_REQUEST_FLAG_ACTIVE_LOW = GPIOD_BIT(2), /**< The active state of the line is low (high is the default). */ }; -- cgit v1.2.3