diff mbox series

[10/11] pci: pcie_layerscape_fixup_common: include fdt_support.h for ft_pci_setup

Message ID 20210917121130.526216-11-vladimir.oltean@nxp.com
State Accepted
Commit 0cab66c5c4a9a42b0fe85ba1ca9a3638ec1997d8
Delegated to: Tom Rini
Headers show
Series Drive-by PCI W=1 cleanups | expand

Commit Message

Vladimir Oltean Sept. 17, 2021, 12:11 p.m. UTC
The function prototype for ft_pci_setup is inside fdt_support.h, we need
to include that header.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 drivers/pci/pcie_layerscape_fixup_common.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Bin Meng Sept. 18, 2021, 6:55 a.m. UTC | #1
On Fri, Sep 17, 2021 at 8:11 PM Vladimir Oltean <vladimir.oltean@nxp.com> wrote:
>
> The function prototype for ft_pci_setup is inside fdt_support.h, we need
> to include that header.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> ---
>  drivers/pci/pcie_layerscape_fixup_common.c | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tom Rini Oct. 3, 2021, 11:34 p.m. UTC | #2
On Fri, Sep 17, 2021 at 03:11:29PM +0300, Vladimir Oltean wrote:

> The function prototype for ft_pci_setup is inside fdt_support.h, we need
> to include that header.
> 
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/drivers/pci/pcie_layerscape_fixup_common.c b/drivers/pci/pcie_layerscape_fixup_common.c
index 8b924d404c2d..08dac7632b0f 100644
--- a/drivers/pci/pcie_layerscape_fixup_common.c
+++ b/drivers/pci/pcie_layerscape_fixup_common.c
@@ -12,6 +12,7 @@ 
 #include <asm/arch/clock.h>
 #include <asm/arch/soc.h>
 #include <linux/libfdt.h>
+#include <fdt_support.h>
 #include "pcie_layerscape_fixup_common.h"
 
 void ft_pci_setup(void *blob, struct bd_info *bd)