From: Andy Shevchenko Date: Mon, 5 Oct 2020 09:56:22 +0000 (+0300) Subject: gpiolib: Update header block in gpiolib-cdev.h X-Git-Tag: v5.10-rc1~171^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc709df553a34fd18010f52e6b47652268d83e7d;p=thirdparty%2Fkernel%2Flinux.git gpiolib: Update header block in gpiolib-cdev.h The dev_t is defined in types.h while struct gpio_device forward declaration is missed. Take into account above and update header block in gpiolib-cdev.h. Signed-off-by: Andy Shevchenko Link: https://lore.kernel.org/r/20201005095622.73616-1-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpiolib-cdev.h b/drivers/gpio/gpiolib-cdev.h index 19a4e3d571202..cb41dd7573380 100644 --- a/drivers/gpio/gpiolib-cdev.h +++ b/drivers/gpio/gpiolib-cdev.h @@ -3,7 +3,9 @@ #ifndef GPIOLIB_CDEV_H #define GPIOLIB_CDEV_H -#include +#include + +struct gpio_device; #ifdef CONFIG_GPIO_CDEV