aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-08-15 02:42:12 -0400
committerPaul Mackerras <paulus@samba.org>2007-08-16 21:01:58 -0400
commit9c25099db74b384e16345622071552f9f10dd045 (patch)
tree9f5699cb2f699e64f69d1123c7aa768bd0f020aa /drivers/char
parent9dfe5c53d0fcc08e9efc1e13bb6702fac74f4a12 (diff)
[POWERPC] Use of_get_property in ipmi code
get_property has been renamed to of_get_property. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 96d2f9ee42d6..d57083a9e4e0 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2251,19 +2251,19 @@ static int __devinit ipmi_of_probe(struct of_device *dev,
2251 return ret; 2251 return ret;
2252 } 2252 }
2253 2253
2254 regsize = get_property(np, "reg-size", &proplen); 2254 regsize = of_get_property(np, "reg-size", &proplen);
2255 if (regsize && proplen != 4) { 2255 if (regsize && proplen != 4) {
2256 dev_warn(&dev->dev, PFX "invalid regsize from OF\n"); 2256 dev_warn(&dev->dev, PFX "invalid regsize from OF\n");
2257 return -EINVAL; 2257 return -EINVAL;
2258 } 2258 }
2259 2259
2260 regspacing = get_property(np, "reg-spacing", &proplen); 2260 regspacing = of_get_property(np, "reg-spacing", &proplen);
2261 if (regspacing && proplen != 4) { 2261 if (regspacing && proplen != 4) {
2262 dev_warn(&dev->dev, PFX "invalid regspacing from OF\n"); 2262 dev_warn(&dev->dev, PFX "invalid regspacing from OF\n");
2263 return -EINVAL; 2263 return -EINVAL;
2264 } 2264 }
2265 2265
2266 regshift = get_property(np, "reg-shift", &proplen); 2266 regshift = of_get_property(np, "reg-shift", &proplen);
2267 if (regshift && proplen != 4) { 2267 if (regshift && proplen != 4) {
2268 dev_warn(&dev->dev, PFX "invalid regshift from OF\n"); 2268 dev_warn(&dev->dev, PFX "invalid regshift from OF\n");
2269 return -EINVAL; 2269 return -EINVAL;