[U-Boot] [PATCH] pci: move pciauto_config_init() to pci.h

Wolfgang Denk wd at denx.de
Sun Mar 4 21:22:25 CET 2012


Dear "Linus Walleij",

In message <1330805108-24007-1-git-send-email-linus.walleij at linaro.org> you wrote:
> Fixing build regressions for the Integrator I get find that a few
> boards try to work around the missing declaration of
> pciauto_config_init() by declaring it in the local scope. This
> does not make sense when the sibling functions are in <pci.h>
> so move the function to the header, ridding the build error
> in the Integrator and getting rid of the local declarations
> here and there.
> 
> Reported-by:  Wolfgang Denk <wd at denx.de>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>  board/esd/cpci750/pci.c    |    1 -
>  board/prodrive/p3mx/pci.c  |    1 -
>  drivers/pci/fsl_pci_init.c |    1 -
>  drivers/pci/pci.c          |    1 -
>  include/pci.h              |    1 +
>  5 files changed, 1 insertions(+), 4 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Everyone who comes in here wants three things:
        1. They want it quick.
        2. They want it good.
        3. They want it cheap.
I tell 'em to pick two and call me back.
- sign on the back wall of a small printing company in Delaware


More information about the U-Boot mailing list