diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2010-02-02 04:34:14 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-02-09 15:33:00 (GMT) |
commit | 71a157e8edca55198e808f8561dd49017a54ee34 (patch) | |
tree | a78185ea8204f1e375d88545235ba3d4937ebfaf /drivers/char/hvc_beat.c | |
parent | 89751a7cb70a20f0d604dd7c4be29dd7b0011718 (diff) | |
download | linux-71a157e8edca55198e808f8561dd49017a54ee34.tar.xz |
of: add 'of_' prefix to machine_is_compatible()
machine is compatible is an OF-specific call. It should have
the of_ prefix to protect the global namespace.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/char/hvc_beat.c')
-rw-r--r-- | drivers/char/hvc_beat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvc_beat.c b/drivers/char/hvc_beat.c index 0afc8b8..9b397c5 100644 --- a/drivers/char/hvc_beat.c +++ b/drivers/char/hvc_beat.c @@ -99,7 +99,7 @@ static int hvc_beat_config(char *p) static int __init hvc_beat_console_init(void) { - if (hvc_beat_useit && machine_is_compatible("Beat")) { + if (hvc_beat_useit && of_machine_is_compatible("Beat")) { hvc_instantiate(0, 0, &hvc_beat_get_put_ops); } return 0; |