aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-07-17 02:18:37 -0400
committerPaul Mundt <lethal@linux-sh.org>2012-07-17 02:18:37 -0400
commit159ac0737e66f20a913248668d67444afde53b53 (patch)
tree9ce820f84583f14cb640f940117f075808bfc1a8 /drivers/sh
parenta2d3afffd98f9cafa87d7efa57cba0d86abfad87 (diff)
sh: pfc: Error out on pinctrl init resolution failure.
pinctrl support is required for correct operation, failure to locate the init routine is fatal. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/pfc/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/sh/pfc/core.c b/drivers/sh/pfc/core.c
index b81d33535d24..68169373c98b 100644
--- a/drivers/sh/pfc/core.c
+++ b/drivers/sh/pfc/core.c
@@ -536,6 +536,9 @@ int register_sh_pfc(struct sh_pfc *pfc)
536 536
537 if (unlikely(ret != 0)) 537 if (unlikely(ret != 0))
538 goto err; 538 goto err;
539 } else {
540 pr_err("failed to initialize pinctrl bindings\n");
541 goto err;
539 } 542 }
540 543
541 /* 544 /*