aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r--arch/powerpc/boot/ops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
index dae0e3b23cf5..4d0cfd733985 100644
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -91,7 +91,8 @@ static inline int getprop(void *devp, const char *name, void *buf, int buflen)
91 return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1; 91 return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1;
92} 92}
93 93
94static inline int setprop(void *devp, const char *name, void *buf, int buflen) 94static inline int setprop(void *devp, const char *name,
95 const void *buf, int buflen)
95{ 96{
96 return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1; 97 return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1;
97} 98}