projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'core-debugobjects-2023-05-06' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git]
/
arch
/
powerpc
/
sysdev
/
fsl_soc.c
diff --git
a/arch/powerpc/sysdev/fsl_soc.c
b/arch/powerpc/sysdev/fsl_soc.c
index 78118c1889936bf9af334fe78cb7e152db446d52..6ebbbca41065f2a9a9e770c4cc35b87a22cf559e 100644
(file)
--- a/
arch/powerpc/sysdev/fsl_soc.c
+++ b/
arch/powerpc/sysdev/fsl_soc.c
@@
-174,7
+174,7
@@
static int __init setup_rstcr(void)
};
for_each_node_by_name(np, "global-utilities") {
- if (
(of_get_property(np, "fsl,has-rstcr", NULL)
)) {
+ if (
of_property_read_bool(np, "fsl,has-rstcr"
)) {
rstcr = of_iomap(np, 0) + 0xb0;
if (!rstcr) {
printk (KERN_ERR "Error: reset control "