Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIPS: Fix CONFIG_OF_EARLY_FLATTREE=n builds
Configurations with CONFIG_OF_EARLY_FLATTREE=n fail to build since commit 7784cac ("MIPS: cmdline: Clean up boot_command_line initialization") because of_scan_flat_dt() & of_scan_flat_dt() are not defined in these configurations. Fix this by #ifdef'ing the affected code... Signed-off-by: Paul Burton <[email protected]> Fixes: 7784cac ("MIPS: cmdline: Clean up boot_command_line initialization") Reported-by: kbuild test robot <[email protected]> Cc: [email protected]
- Loading branch information