From: Linus Walleij Date: Fri, 20 Aug 2021 22:58:21 +0000 (+0200) Subject: gpio: max730x: Use the right include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e5e26d80840b69c1bcea4f5b0cb7ed4026a8f6a3;p=linux.git gpio: max730x: Use the right include despite the placement of the header, is used by drivers/gpio/gpio-max730*. The include needs struct gpio_chip and needs to include not the legacy include. Signed-off-by: Linus Walleij Signed-off-by: Bartosz Golaszewski --- diff --git a/include/linux/spi/max7301.h b/include/linux/spi/max7301.h index 433c20e2f46ef..21449067aedb5 100644 --- a/include/linux/spi/max7301.h +++ b/include/linux/spi/max7301.h @@ -2,7 +2,7 @@ #ifndef LINUX_SPI_MAX7301_H #define LINUX_SPI_MAX7301_H -#include +#include /* * Some registers must be read back to modify.