cdf22a4e90
The return value of gpio_to_irq() is not a pointer but an integer. Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips <linux-mips@linux-mips.org> Patchwork: http://patchwork.linux-mips.org/patch/1280/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 lines
331 B
C
15 lines
331 B
C
#ifndef __ASM_MIPS_MACH_BCM63XX_GPIO_H
|
|
#define __ASM_MIPS_MACH_BCM63XX_GPIO_H
|
|
|
|
#include <bcm63xx_gpio.h>
|
|
|
|
#define gpio_to_irq(gpio) -1
|
|
|
|
#define gpio_get_value __gpio_get_value
|
|
#define gpio_set_value __gpio_set_value
|
|
|
|
#define gpio_cansleep __gpio_cansleep
|
|
|
|
#include <asm-generic/gpio.h>
|
|
|
|
#endif /* __ASM_MIPS_MACH_BCM63XX_GPIO_H */
|