X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=arch%2Fpowerpc%2Fboot%2Fofconsole.c;h=ce0e0242445325feb7251ae9214705e90c42864a;hb=af7c951d76708c61b862463d579d76be757130bf;hp=43c0f36c3326b83dfddac2babcd22ad6b84c7cd6;hpb=b96fbb6e1eb81bb21a8c3462773a0056e12de427;p=linux-2.6-omap-h63xx.git diff --git a/arch/powerpc/boot/ofconsole.c b/arch/powerpc/boot/ofconsole.c index 43c0f36c332..ce0e0242445 100644 --- a/arch/powerpc/boot/ofconsole.c +++ b/arch/powerpc/boot/ofconsole.c @@ -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;