]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/boot/ofconsole.c
Merge branch 'for_rmk' of git://git.mnementh.co.uk/linux-2.6-im
[linux-2.6-omap-h63xx.git] / arch / powerpc / boot / ofconsole.c
index 43c0f36c3326b83dfddac2babcd22ad6b84c7cd6..ce0e0242445325feb7251ae9214705e90c42864a 100644 (file)
@@ -24,10 +24,10 @@ static int of_console_open(void)
 {
        void *devp;
 
-       if (((devp = finddevice("/chosen")) != NULL)
-                       && (getprop(devp, "stdout", &of_stdout_handle,
-                               sizeof(of_stdout_handle))
-                               == sizeof(of_stdout_handle)))
+       if (((devp = of_finddevice("/chosen")) != NULL)
+           && (of_getprop(devp, "stdout", &of_stdout_handle,
+                          sizeof(of_stdout_handle))
+               == sizeof(of_stdout_handle)))
                return 0;
 
        return -1;