Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318459
b: refs/heads/master
c: 4fbb002
h: refs/heads/master
i:
  318457: d8b8ac0
  318455: 3f182f4
v: v3
  • Loading branch information
Roland Stigge authored and Linus Walleij committed Jul 17, 2012
1 parent 06c5475 commit d8bcf7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: e93545763021988def06fbda28fe5da133589a96
refs/heads/master: 4fbb0022cba37eef4a263183fdb7dbee89b299f2
5 changes: 4 additions & 1 deletion trunk/drivers/gpio/gpiolib-of.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ static int of_gpiochip_find_and_xlate(struct gpio_chip *gc, void *data)
int of_get_named_gpio_flags(struct device_node *np, const char *propname,
int index, enum of_gpio_flags *flags)
{
struct gg_data gg_data = { .flags = flags, .out_gpio = -ENODEV };
/* Return -EPROBE_DEFER to support probe() functions to be called
* later when the GPIO actually becomes available
*/
struct gg_data gg_data = { .flags = flags, .out_gpio = -EPROBE_DEFER };
int ret;

/* .of_xlate might decide to not fill in the flags, so clear it. */
Expand Down

0 comments on commit d8bcf7d

Please sign in to comment.