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>
This commit is contained in:
@@ -2426,7 +2426,7 @@ static int __init probe_motherboard(void)
|
||||
}
|
||||
}
|
||||
for(i=0; i<ARRAY_SIZE(pmac_mb_defs); i++) {
|
||||
if (machine_is_compatible(pmac_mb_defs[i].model_string)) {
|
||||
if (of_machine_is_compatible(pmac_mb_defs[i].model_string)) {
|
||||
pmac_mb = pmac_mb_defs[i];
|
||||
goto found;
|
||||
}
|
||||
|
Reference in New Issue
Block a user