Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64474
b: refs/heads/master
c: 7acae22
h: refs/heads/master
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Aug 27, 2007
1 parent 17fe743 commit 95bd7d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f201b46328ac378bbd0894dd3a0c72bce4c1131e
refs/heads/master: 7acae224a423a492454d6550ce65c9af556d02c7
12 changes: 6 additions & 6 deletions trunk/arch/mips/au1000/common/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ int au1xxx_gpio_direction_input(unsigned gpio)
{
if (gpio >= AU1XXX_GPIO_BASE)
#if defined(CONFIG_SOC_AU1000)
;
return -ENODEV;
#else
return au1xxx_gpio2_direction_input(gpio);
#endif
else
return au1xxx_gpio1_direction_input(gpio);

return au1xxx_gpio1_direction_input(gpio);
}

EXPORT_SYMBOL(au1xxx_gpio_direction_input);
Expand All @@ -145,12 +145,12 @@ int au1xxx_gpio_direction_output(unsigned gpio, int value)
{
if (gpio >= AU1XXX_GPIO_BASE)
#if defined(CONFIG_SOC_AU1000)
;
return -ENODEV;
#else
return au1xxx_gpio2_direction_output(gpio, value);
#endif
else
return au1xxx_gpio1_direction_output(gpio, value);

return au1xxx_gpio1_direction_output(gpio, value);
}

EXPORT_SYMBOL(au1xxx_gpio_direction_output);

0 comments on commit 95bd7d7

Please sign in to comment.