Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+7 -2
+3 -2
drivers/gpio/gpio-aspeed.c
··· 5 5 * Joel Stanley <joel@jms.id.au> 6 6 */ 7 7 8 - #include <asm/div64.h> 9 8 #include <linux/clk.h> 10 - #include <linux/gpio/driver.h> 11 9 #include <linux/gpio/aspeed.h> 10 + #include <linux/gpio/driver.h> 12 11 #include <linux/hashtable.h> 13 12 #include <linux/init.h> 14 13 #include <linux/io.h> ··· 17 18 #include <linux/platform_device.h> 18 19 #include <linux/spinlock.h> 19 20 #include <linux/string.h> 21 + 22 + #include <asm/div64.h> 20 23 21 24 /* 22 25 * These two headers aren't meant to be used by GPIO drivers. We need
+4
include/linux/gpio/aspeed.h
··· 1 1 #ifndef __GPIO_ASPEED_H 2 2 #define __GPIO_ASPEED_H 3 3 4 + #include <linux/types.h> 5 + 6 + struct gpio_desc; 7 + 4 8 struct aspeed_gpio_copro_ops { 5 9 int (*request_access)(void *data); 6 10 int (*release_access)(void *data);