i2c: Include GPIO consumer header in main include
Wolfram Sang
wsa at the-dreams.de
Mon Jan 15 10:03:03 PST 2018
On Fri, Dec 08, 2017 at 02:39:34PM +0100, Linus Walleij wrote:
> It seems most users of <linux/i2c.h> pick up their
> dependency of <linux/gpio/consumer.h> from other paths but
> that is not a universal law, so include the header
> explicitly so we have struct gpio_desc available.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
I still think drivers needing GPIO should include it explicitly.
So, NAK until further arguments arrive...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180115/11fd1e6e/attachment.sig>
More information about the linux-arm-kernel
mailing list