From: Wolfgang Denk Date: Sun, 04 Mar 2012 21:22:25 +0100 Subject: [U-Boot] [PATCH] pci: move pciauto_config_init() to pci.h In-Reply-To: <1330805108-24007-1-git-send-email-linus.walleij@linaro.org> References: <1330805108-24007-1-git-send-email-linus.walleij@linaro.org> Message-ID: <20120304202225.3B127202D60@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear "Linus Walleij", In message <1330805108-24007-1-git-send-email-linus.walleij@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 > 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 > Signed-off-by: Linus Walleij > --- > 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