X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc64%2Fkernel%2Fhvconsole.c;h=101e0799cbfeb23e97c03131e5d57e5191c34ba7;hb=5e3b93f248c98873cc843e83092bb8da92ac85a2;hp=dedefb3056e09268c4a83546e3ff2a48695cb929;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/arch/ppc64/kernel/hvconsole.c b/arch/ppc64/kernel/hvconsole.c index dedefb305..101e0799c 100644 --- a/arch/ppc64/kernel/hvconsole.c +++ b/arch/ppc64/kernel/hvconsole.c @@ -20,7 +20,6 @@ */ #include -#include #include #include #include @@ -51,8 +50,6 @@ int hvc_get_chars(int index, char *buf, int count) return 0; } -EXPORT_SYMBOL(hvc_get_chars); - int hvc_put_chars(int index, const char *buf, int count) { unsigned long *lbuf = (unsigned long *) buf; @@ -67,8 +64,6 @@ int hvc_put_chars(int index, const char *buf, int count) return -1; } -EXPORT_SYMBOL(hvc_put_chars); - /* return the number of client vterms present */ /* XXX this requires an interface change to handle multiple discontiguous * vterms */ @@ -81,7 +76,7 @@ int hvc_count(int *start_termno) * we should _always_ be able to find one. */ vty = of_find_node_by_name(NULL, "vty"); if (vty && device_is_compatible(vty, "hvterm1")) { - u32 *termno = (u32 *)get_property(vty, "reg", NULL); + u32 *termno = (u32 *)get_property(vty, "reg", 0); if (termno && start_termno) *start_termno = *termno;