summaryrefslogtreecommitdiffstats
path: root/include/linux/gpio/gpio-reg.h
blob: 90e0b9060e6dfc4c6d4ecf5781f0487ee283b657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef GPIO_REG_H
#define GPIO_REG_H

struct device;
struct irq_domain;

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