aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/briq_panel.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-03 08:40:39 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-12 13:55:19 -0400
commitd05c7a80cf39ae7d0f8d0c3e47c93d51fcd393d3 (patch)
tree6b51334a2427c0392c391d0e0bfab0ab9aae690e /drivers/char/briq_panel.c
parentc4f55b394505fff6ad831d17e36e02dde1c3a8d7 (diff)
[POWERPC] Rename get_property to of_get_property: drivers
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/briq_panel.c')
-rw-r--r--drivers/char/briq_panel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/briq_panel.c b/drivers/char/briq_panel.c
index 8dcf9d20f449..669965a461f9 100644
--- a/drivers/char/briq_panel.c
+++ b/drivers/char/briq_panel.c
@@ -206,7 +206,7 @@ static int __init briq_panel_init(void)
206 const char *machine; 206 const char *machine;
207 int i; 207 int i;
208 208
209 machine = get_property(root, "model", NULL); 209 machine = of_get_property(root, "model", NULL);
210 if (!machine || strncmp(machine, "TotalImpact,BRIQ-1", 18) != 0) 210 if (!machine || strncmp(machine, "TotalImpact,BRIQ-1", 18) != 0)
211 return -ENODEV; 211 return -ENODEV;
212 212