Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373841
b: refs/heads/master
c: 542a564
h: refs/heads/master
i:
  373839: 98751b6
v: v3
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Apr 3, 2013
1 parent 340c370 commit 2b42326
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48b1e3e80f742bff0f469245f2d05007af9af92e
refs/heads/master: 542a564d2ddbd2c37536b4dff8e45fa0fc239bcc
3 changes: 3 additions & 0 deletions trunk/drivers/pinctrl/sh-pfc/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ int sh_pfc_register_gpiochip(struct sh_pfc *pfc)
}

/* Register the function GPIOs chip. */
if (pfc->info->nr_func_gpios == 0)
return 0;

chip = sh_pfc_add_gpiochip(pfc, gpio_function_setup);
if (IS_ERR(chip))
return PTR_ERR(chip);
Expand Down

0 comments on commit 2b42326

Please sign in to comment.