[PATCH 1/3] pci: pcie_dw_rockchip: Fixed the below compilation error

Anand Moon linux.amoon at gmail.com
Fri May 21 18:58:17 CEST 2021


H Kever,

On Fri, 21 May 2021 at 18:51, Kever Yang <kever.yang at rock-chips.com> wrote:
>
>
> On 2021/4/26 下午9:26, Anand Moon wrote:
> > Use the Error values that may be returned by PCI functions
> > Added the error macro from linux/include/linux/pci.h
> >
> > drivers/pci/pcie_dw_rockchip.c: In function 'rk_pcie_read':
> > drivers/pci/pcie_dw_rockchip.c:70:10: error: 'PCIBIOS_UNSUPPORTED'
> >                       undeclared (first use in this function)
> >     70 |   return PCIBIOS_UNSUPPORTED;
> >        |          ^~~~~~~~~~~~~~~~~~~
> > drivers/pci/pcie_dw_rockchip.c: In function 'rk_pcie_write':
> > drivers/pci/pcie_dw_rockchip.c:90:10: error: 'PCIBIOS_UNSUPPORTED'
> >                       undeclared (first use in this function)
> >     90 |   return PCIBIOS_UNSUPPORTED;
> >        |          ^~~~~~~~~~~~~~~~~~~
> >
> > Cc: Neil Armstrong <narmstrong at baylibre.com>
> > Cc: Kever Yang <kever.yang at rock-chips.com>
> > Signed-off-by: Anand Moon <linux.amoon at gmail.com>
>
>
> Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
>

Oops, I forgot to send the revised version of these patches.

> Thanks,
>
> - Kever


More information about the U-Boot mailing list