diff options
Diffstat (limited to 'drivers/macintosh/via-cuda.c')
-rw-r--r-- | drivers/macintosh/via-cuda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-cuda.c b/drivers/macintosh/via-cuda.c index 76d21775fc35..d58fcf6cca0a 100644 --- a/drivers/macintosh/via-cuda.c +++ b/drivers/macintosh/via-cuda.c | |||
@@ -131,7 +131,7 @@ int __init find_via_cuda(void) | |||
131 | if (vias == 0) | 131 | if (vias == 0) |
132 | return 0; | 132 | return 0; |
133 | 133 | ||
134 | reg = of_get_property(vias, "reg", NULL); | 134 | reg = get_property(vias, "reg", NULL); |
135 | if (reg == NULL) { | 135 | if (reg == NULL) { |
136 | printk(KERN_ERR "via-cuda: No \"reg\" property !\n"); | 136 | printk(KERN_ERR "via-cuda: No \"reg\" property !\n"); |
137 | goto fail; | 137 | goto fail; |