blob: 90e0b9060e6dfc4c6d4ecf5781f0487ee283b657 [file] [log] [blame]
Russell King380639c2016-08-31 08:49:44 +01001#ifndef GPIO_REG_H
2#define GPIO_REG_H
3
4struct device;
Russell King0e3cb6e2016-09-02 12:05:56 +01005struct irq_domain;
Russell King380639c2016-08-31 08:49:44 +01006
7struct gpio_chip *gpio_reg_init(struct device *dev, void __iomem *reg,
8 int base, int num, const char *label, u32 direction, u32 def_out,
Russell King0e3cb6e2016-09-02 12:05:56 +01009 const char *const *names, struct irq_domain *irqdom, const int *irqs);
Russell King380639c2016-08-31 08:49:44 +010010
11int gpio_reg_resume(struct gpio_chip *gc);
12
13#endif