mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
19 lines
482 B
C
19 lines
482 B
C
#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);
|
|
};
|
|
|
|
int aspeed_gpio_copro_grab_gpio(struct gpio_desc *desc,
|
|
u16 *vreg_offset, u16 *dreg_offset, u8 *bit);
|
|
int aspeed_gpio_copro_release_gpio(struct gpio_desc *desc);
|
|
int aspeed_gpio_copro_set_ops(const struct aspeed_gpio_copro_ops *ops, void *data);
|
|
|
|
|
|
#endif /* __GPIO_ASPEED_H */
|