commit | 8738333617878d7acabf827c75f0d25287584144 | [log] [tgz] |
---|---|---|
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | Tue Aug 27 10:13:48 2019 +0000 |
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | Wed Aug 28 13:47:44 2019 +0530 |
tree | aee0aac131f187f6e07758aedd90ea1912a0ec4c | |
parent | d31c7c800c6d8611e6372e0683866684ab0b09b4 [diff] |
dm: pcie_fsl: Convert IS_ENABLED() run-time checking to #ifdef This can avoid build error: The macro in brackets of the IS_ENABLED(CONFIG_FOO) is only defined on the platforms that select the CONFIG_FOO, while it's not defined on platforms that do not select the CONFIG_FOO. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>