[PATCH 3/4] bcm2835-gpio-exp: Driver for GPIO expander via mailbox service
Linus Walleij
linus.walleij at linaro.org
Thu Jan 11 01:39:32 PST 2018
On Wed, Jan 10, 2018 at 4:45 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> Hi Linus,
>
> On Wed, Jan 03, 2018 at 11:08:15AM +0100, Linus Walleij wrote:
>> On Tue, Jan 2, 2018 at 2:19 PM, Baruch Siach <baruch at tkos.co.il> wrote:
>> > +#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
More information about the linux-rpi-kernel
mailing list