diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-03 03:26:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 06:31:14 -0400 |
commit | 55b61fec22caa3e7872caea6c4100fc75cb8f49b (patch) | |
tree | 995c2cf733bbd9ee1adc6e77773b0e31e9c21267 /arch/powerpc/platforms/pseries/lpar.c | |
parent | d9333afd6a714760c13f76ba275a32ec7bd979c1 (diff) |
[POWERPC] Rename device_is_compatible to of_device_is_compatible
for consistency with other Open Firmware interfaces (and Sparc).
This is just a straight replacement.
This leaves the compatibility define in place.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/lpar.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/lpar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c index 3a70e8ad7bc8..362dfbc260a6 100644 --- a/arch/powerpc/platforms/pseries/lpar.c +++ b/arch/powerpc/platforms/pseries/lpar.c | |||
@@ -231,13 +231,13 @@ void __init find_udbg_vterm(void) | |||
231 | goto out; | 231 | goto out; |
232 | vtermno = termno[0]; | 232 | vtermno = termno[0]; |
233 | 233 | ||
234 | if (device_is_compatible(stdout_node, "hvterm1")) { | 234 | if (of_device_is_compatible(stdout_node, "hvterm1")) { |
235 | udbg_putc = udbg_putcLP; | 235 | udbg_putc = udbg_putcLP; |
236 | udbg_getc = udbg_getcLP; | 236 | udbg_getc = udbg_getcLP; |
237 | udbg_getc_poll = udbg_getc_pollLP; | 237 | udbg_getc_poll = udbg_getc_pollLP; |
238 | if (add_console) | 238 | if (add_console) |
239 | add_preferred_console("hvc", termno[0] & 0xff, NULL); | 239 | add_preferred_console("hvc", termno[0] & 0xff, NULL); |
240 | } else if (device_is_compatible(stdout_node, "hvterm-protocol")) { | 240 | } else if (of_device_is_compatible(stdout_node, "hvterm-protocol")) { |
241 | vtermno = termno[0]; | 241 | vtermno = termno[0]; |
242 | udbg_putc = udbg_hvsi_putc; | 242 | udbg_putc = udbg_hvsi_putc; |
243 | udbg_getc = udbg_hvsi_getc; | 243 | udbg_getc = udbg_hvsi_getc; |