From: Bartosz Golaszewski Date: Wed, 4 Jan 2017 16:17:03 +0000 (+0100) Subject: core: rename GPIOD_MAX_LINES X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c2597c40fbe8091e104ba8ad9073915259217ab0;p=qemu-gpiodev%2Flibgpiod.git core: rename GPIOD_MAX_LINES This define specifies the maximum number of lines that can be requested in a single operation. Make it clear with the new name. Signed-off-by: Bartosz Golaszewski --- diff --git a/gpiod.h b/gpiod.h index 6104cce..1f6243b 100644 --- a/gpiod.h +++ b/gpiod.h @@ -66,7 +66,7 @@ enum { GPIOD_REQUEST_OPEN_SOURCE = GPIOD_BIT(6), }; -#define GPIOD_MAX_LINES 64 +#define GPIOD_REQUEST_MAX_LINES 64 struct gpiod_line; @@ -109,7 +109,7 @@ static inline int gpiod_line_request_dout(struct gpiod_line *line, } struct gpiod_line_bulk { - struct gpiod_line *lines[GPIOD_MAX_LINES]; + struct gpiod_line *lines[GPIOD_REQUEST_MAX_LINES]; unsigned int num_lines; };