From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Fri, 8 Dec 2017 14:39:34 +0100 Subject: [PATCH] i2c: Include GPIO consumer header in main include Message-ID: <20171208133934.18038-1-linus.walleij@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org It seems most users of pick up their dependency of 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 --- include/linux/i2c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 5d7f3c1853ae..8b968c44ddfa 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -34,6 +34,7 @@ #include /* for Host Notify IRQ */ #include /* for struct device_node */ #include /* for swab16 */ +#include #include extern struct bus_type i2c_bus_type; -- 2.14.3