mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-08-18 02:22:47 -07:00
MIPS: AR7, BCM63xx: fix gpio_to_irq() return value
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>
This commit is contained in:
1 parent
e48682ddaa
commit
cdf22a4e90
2 files changed
+2
-2
No files matched your search
@@ -24,7 +24,7 @@
|
||||
#define AR7_GPIO_MAX 32
|
||||
#define NR_BUILTIN_GPIO AR7_GPIO_MAX
|
||||
|
||||
#define gpio_to_irq(gpio) NULL
|
||||
#define gpio_to_irq(gpio) -1
|
||||
|
||||
#define gpio_get_value __gpio_get_value
|
||||
#define gpio_set_value __gpio_set_value
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <bcm63xx_gpio.h>
|
||||
|
||||
#define gpio_to_irq(gpio) NULL
|
||||
#define gpio_to_irq(gpio) -1
|
||||
|
||||
#define gpio_get_value __gpio_get_value
|
||||
#define gpio_set_value __gpio_set_value
|
||||
|
||||
Reference in new issue
Block a user