Skip to content

Commit fc709df

Browse files
andy-shevLinus Walleij
authored andcommitted
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 <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20201005095622.73616-1-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent f188ac1 commit fc709df

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/gpio/gpiolib-cdev.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
#ifndef GPIOLIB_CDEV_H
44
#define GPIOLIB_CDEV_H
55

6-
#include <linux/device.h>
6+
#include <linux/types.h>
7+
8+
struct gpio_device;
79

810
#ifdef CONFIG_GPIO_CDEV
911

0 commit comments

Comments
 (0)