Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377149
b: refs/heads/master
c: 7e5955d
h: refs/heads/master
i:
  377147: e0ab7ae
v: v3
  • Loading branch information
Haojian Zhuang authored and Olof Johansson committed Jun 11, 2013
1 parent a725d4f commit d1a0ac4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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: f1d6e31de103a573064a7ff158a8de0170f8fe34
refs/heads/master: 7e5955db458b2d349a8180242afebc78a13ed023
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-prima2/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ static int __init sirfsoc_of_pwrc_init(void)
struct device_node *np;

np = of_find_matching_node(NULL, pwrc_ids);
if (!np)
panic("unable to find compatible pwrc node in dtb\n");
if (!np) {
pr_err("unable to find compatible sirf pwrc node in dtb\n");
return -ENOENT;
}

/*
* pwrc behind rtciobrg is not located in memory space
Expand Down
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-prima2/rstc.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ static int __init sirfsoc_of_rstc_init(void)
struct device_node *np;

np = of_find_matching_node(NULL, rstc_ids);
if (!np)
panic("unable to find compatible rstc node in dtb\n");
if (!np) {
pr_err("unable to find compatible sirf rstc node in dtb\n");
return -ENOENT;
}

sirfsoc_rstc_base = of_iomap(np, 0);
if (!sirfsoc_rstc_base)
Expand Down

0 comments on commit d1a0ac4

Please sign in to comment.