[PATCH 3/4] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service
From: Linus Walleij <hidden>
Date: 2018-01-11 09:39:32
Also in:
linux-devicetree, linux-gpio
From: Linus Walleij <hidden>
Date: 2018-01-11 09:39:32
Also in:
linux-devicetree, linux-gpio
On Wed, Jan 10, 2018 at 4:45 AM, Baruch Siach [off-list ref] wrote:
Hi Linus, On Wed, Jan 03, 2018 at 11:08:15AM +0100, Linus Walleij wrote:quoted
On Tue, Jan 2, 2018 at 2:19 PM, Baruch Siach [off-list ref] wrote:quoted
+#include <linux/err.h> +#include <linux/gpio.h>Just use #include <linux/driver.h>You mean linux/gpio/driver.h, right?
Yes.
I still need linux/gpio.h for GPIOF_DIR_*.
Don't use these, just use 0 and 1 open coded for the moment (if you check my devel branch, the references to these flags are gone). We need to make new defines for the new API. Yours, Linus Walleij