mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
f310f2eff7
Improve readability a bit by commenting #if/#else/#endif statements with the checked preprocessor symbols. Signed-off-by: Enrico Weigelt <info@metux.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
15 lines
392 B
C
15 lines
392 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#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 /* GPIO_REG_H */
|