diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-08-11 11:51:03 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2021-08-25 01:09:01 +0300 |
commit | bf2e8609734bd773610d414b72eb1cfe09b4c24d (patch) | |
tree | 082e825d7cb3ea8f74466db06f2ac0cc989cf329 /arch/riscv/mm/init.c | |
parent | 2af2b50acf9b9c38080a45f32a9c162e2a0f2de2 (diff) | |
download | linux-bf2e8609734bd773610d414b72eb1cfe09b4c24d.tar.xz |
of: fdt: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD) instead of #ifdef
Replace the conditional compilation using "#ifdef CONFIG_BLK_DEV_INITRD"
by a check for "IS_ENABLED(CONFIG_BLK_DEV_INITRD)", to increase compile
coverage and to simplify the code.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/604c13747f09d800da6a7c12f661e1ec146f1dfd.1628670468.git.geert+renesas@glider.be
Diffstat (limited to 'arch/riscv/mm/init.c')
0 files changed, 0 insertions, 0 deletions