Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
380639c7 RK |
2 | #ifndef GPIO_REG_H |
3 | #define GPIO_REG_H | |
4 | ||
5 | struct device; | |
0e3cb6ee | 6 | struct irq_domain; |
380639c7 RK |
7 | |
8 | struct gpio_chip *gpio_reg_init(struct device *dev, void __iomem *reg, | |
9 | int base, int num, const char *label, u32 direction, u32 def_out, | |
0e3cb6ee | 10 | const char *const *names, struct irq_domain *irqdom, const int *irqs); |
380639c7 RK |
11 | |
12 | int gpio_reg_resume(struct gpio_chip *gc); | |
13 | ||
14 | #endif |