Re: [PATCH v2 6/7] gpiolib: include <gpio/consumer.h> from gpiolib.h

From: Linus Walleij
Date: Mon Feb 06 2017 - 08:50:01 EST


On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
<bgolaszewski@xxxxxxxxxxxx> wrote:

> We want pull gpiolib.h in from the gpio mockup driver, but gpiod_flags
> is defined in consumer.h, so we need that too indirectly.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Can't you just add the include to the mockup driver...?

Yours,
Linus Walleij