mirror of
https://github.com/torvalds/linux
synced 2024-09-06 18:01:05 +00:00
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>
This commit is contained in:
parent
9abf2313ad
commit
9ceb338ab1
|
@ -5,10 +5,9 @@
|
|||
* Joel Stanley <joel@jms.id.au>
|
||||
*/
|
||||
|
||||
#include <asm/div64.h>
|
||||
#include <linux/clk.h>
|
||||
#include <linux/gpio/driver.h>
|
||||
#include <linux/gpio/aspeed.h>
|
||||
#include <linux/gpio/driver.h>
|
||||
#include <linux/hashtable.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
|
@ -19,6 +18,8 @@
|
|||
#include <linux/spinlock.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#include <asm/div64.h>
|
||||
|
||||
/*
|
||||
* These two headers aren't meant to be used by GPIO drivers. We need
|
||||
* them in order to access gpio_chip_hwgpio() which we need to implement
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue