summaryrefslogtreecommitdiff
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-07 16:44:44 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-19 17:03:55 +0300
commit9ceb338ab1769fd04c7d347f086c3b5ee01128e1 (patch)
tree590d149c7fcdc2c3b84a256d7711c4a6b39ca90a /include/linux/gpio
parent9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff)
downloadlinux-9ceb338ab1769fd04c7d347f086c3b5ee01128e1.tar.xz
gpio: aspeed: Add missing header(s)
Do not imply that some of the generic headers may be always included. Instead, include explicitly what we are direct user of. While at it, sort headers alphabetically. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r--include/linux/gpio/aspeed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/gpio/aspeed.h b/include/linux/gpio/aspeed.h
index 1bfb3cdc86d0..9a547e66c8c4 100644
--- a/include/linux/gpio/aspeed.h
+++ b/include/linux/gpio/aspeed.h
@@ -1,6 +1,10 @@
#ifndef __GPIO_ASPEED_H
#define __GPIO_ASPEED_H
+#include <linux/types.h>
+
+struct gpio_desc;
+
struct aspeed_gpio_copro_ops {
int (*request_access)(void *data);
int (*release_access)(void *data);