Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1574613 > unrolled thread
| Started by | Bartosz Golaszewski <bgolaszewski@baylibre.com> |
|---|---|
| First post | 2017-02-06 13:20 +0100 |
| Last post | 2017-02-06 15:00 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 6/7] gpiolib: include <gpio/consumer.h> from gpiolib.h Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-06 13:20 +0100
Re: [PATCH v2 6/7] gpiolib: include <gpio/consumer.h> from gpiolib.h Linus Walleij <linus.walleij@linaro.org> - 2017-02-06 15:00 +0100
| From | Bartosz Golaszewski <bgolaszewski@baylibre.com> |
|---|---|
| Date | 2017-02-06 13:20 +0100 |
| Subject | [PATCH v2 6/7] gpiolib: include <gpio/consumer.h> from gpiolib.h |
| Message-ID | <t7Qr1-4PJ-49@gated-at.bofh.it> |
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@baylibre.com> --- drivers/gpio/gpiolib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index 2495b7e..067e5e5 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -13,6 +13,7 @@ #define GPIOLIB_H #include <linux/gpio/driver.h> +#include <linux/gpio/consumer.h> #include <linux/err.h> #include <linux/device.h> #include <linux/module.h> -- 2.9.3
[toc] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2017-02-06 15:00 +0100 |
| Message-ID | <t7RZL-5F5-3@gated-at.bofh.it> |
| In reply to | #1574613 |
On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski <bgolaszewski@baylibre.com> 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@baylibre.com> Can't you just add the include to the mockup driver...? Yours, Linus Walleij
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web