mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
Do not imply that some of the generic headers may be always included. Instead, include explicitly what we are direct user of. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
18 lines
437 B
C
18 lines
437 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef GPIO_REG_H
|
|
#define GPIO_REG_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct device;
|
|
struct irq_domain;
|
|
|
|
struct gpio_chip;
|
|
|
|
struct gpio_chip *gpio_reg_init(struct device *dev, void __iomem *reg,
|
|
int base, int num, const char *label, u32 direction, u32 def_out,
|
|
const char *const *names, struct irq_domain *irqdom, const int *irqs);
|
|
|
|
int gpio_reg_resume(struct gpio_chip *gc);
|
|
|
|
#endif /* GPIO_REG_H */
|