diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-03 09:26:52 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 12:31:14 +0200 |
commit | 55b61fec22caa3e7872caea6c4100fc75cb8f49b (patch) | |
tree | 995c2cf733bbd9ee1adc6e77773b0e31e9c21267 /drivers/char/hvc_vio.c | |
parent | [POWERPC] powermac: Support G5 CPU hotplug (diff) | |
download | linux-55b61fec22caa3e7872caea6c4100fc75cb8f49b.tar.xz linux-55b61fec22caa3e7872caea6c4100fc75cb8f49b.zip |
[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 'drivers/char/hvc_vio.c')
-rw-r--r-- | drivers/char/hvc_vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_vio.c b/drivers/char/hvc_vio.c index 94a542e20efb..79711aa4b41d 100644 --- a/drivers/char/hvc_vio.c +++ b/drivers/char/hvc_vio.c @@ -157,7 +157,7 @@ static int hvc_find_vtys(void) if (!vtermno) continue; - if (device_is_compatible(vty, "hvterm1")) { + if (of_device_is_compatible(vty, "hvterm1")) { hvc_instantiate(*vtermno, num_found, &hvc_get_put_ops); ++num_found; } |