mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] Check for null init_early routine
Add a check for a null ppc_md.init_early to allow platforms that don't require an init_early routine to just set this member to null. Signed-off-by: Geoff Levand <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
fc9e8b4e27
commit
57744ea95e
1 changed files with 2 additions and 1 deletions
|
|
@ -380,7 +380,8 @@ void __init setup_system(void)
|
|||
* setting up the hash table pointers. It also sets up some interrupt-mapping
|
||||
* related options that will be used by finish_device_tree()
|
||||
*/
|
||||
ppc_md.init_early();
|
||||
if (ppc_md.init_early)
|
||||
ppc_md.init_early();
|
||||
|
||||
/*
|
||||
* We can discover serial ports now since the above did setup the
|
||||
|
|
|
|||
Loading…
Reference in a new issue