mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
2da4c74dc3
Instated of providing an own GPIO driver use the one provided by ssb and bcma. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Patchwork: http://patchwork.linux-mips.org/patch/4592 Acked-by: Florian Fainelli <florian@openwrt.org>
18 lines
341 B
C
18 lines
341 B
C
#ifndef __ASM_MIPS_MACH_BCM47XX_GPIO_H
|
|
#define __ASM_MIPS_MACH_BCM47XX_GPIO_H
|
|
|
|
#include <asm-generic/gpio.h>
|
|
|
|
#define gpio_get_value __gpio_get_value
|
|
#define gpio_set_value __gpio_set_value
|
|
|
|
#define gpio_cansleep __gpio_cansleep
|
|
#define gpio_to_irq __gpio_to_irq
|
|
|
|
static inline int irq_to_gpio(unsigned int irq)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
|
|
#endif
|