M7350/kernel/arch/mips/include/asm/mach-bcm47xx/gpio.h

18 lines
341 B
C
Raw Permalink Normal View History

2024-09-09 08:57:42 +00:00
#ifndef __ASM_MIPS_MACH_BCM47XX_GPIO_H
#define __ASM_MIPS_MACH_BCM47XX_GPIO_H
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
#include <asm-generic/gpio.h>
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
#define gpio_get_value __gpio_get_value
#define gpio_set_value __gpio_set_value
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
#define gpio_cansleep __gpio_cansleep
#define gpio_to_irq __gpio_to_irq
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
static inline int irq_to_gpio(unsigned int irq)
2024-09-09 08:52:07 +00:00
{
return -EINVAL;
}
#endif