[U-Boot] [PATCHv3 1/3] dm: pcie_fsl: Convert IS_ENABLED() run-time checking to #ifdef
Bin Meng
bmeng.cn at gmail.com
Tue Aug 27 12:54:40 UTC 2019
On Tue, Aug 27, 2019 at 6:13 PM Z.q. Hou <zhiqiang.hou at nxp.com> wrote:
>
> From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
>
> 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 at nxp.com>
> ---
> V3:
> - New patch, also fix the build error which the #1 of v2 fixed.
>
> drivers/pci/pcie_fsl.c | 69 ++++++++++++++++++++++--------------------
> 1 file changed, 36 insertions(+), 33 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list