diff options
author | Paul Burton <paul.burton@mips.com> | 2019-10-12 20:43:37 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-12 13:44:23 -0700 |
commit | 972727766ee4d9e8b455c09e8dcb1e7dc14c4967 (patch) | |
tree | 07247fafa0427b53f3e43cce03fea026daeab1ca /arch/mips/kernel/probes-common.h | |
parent | b7340422cc16c5deff100812f38114bb5ec81203 (diff) |
MIPS: Fix CONFIG_OF_EARLY_FLATTREE=n builds
Configurations with CONFIG_OF_EARLY_FLATTREE=n fail to build since
commit 7784cac69735 ("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 <paul.burton@mips.com>
Fixes: 7784cac69735 ("MIPS: cmdline: Clean up boot_command_line initialization")
Reported-by: kbuild test robot <lkp@intel.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/kernel/probes-common.h')
0 files changed, 0 insertions, 0 deletions