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@xxxxxxxxxx> Not sure. Having GPIOs is not really a requirement for I2C. I tend to think drivers using it should include this explicitly?
Attachment:
signature.asc
Description: PGP signature