summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-10-21 14:17:15 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:54:00 +0200
commite7fb8ba3a7123b5ac1a00a7e2e79e05a3af09275 (patch)
treee7f978455e8490970994b223d910c8cb9f8f4999
parentbd78ef90e63368e3a45bc536902c3052aafd3ce9 (diff)
downloadu-boot-imx-e7fb8ba3a7123b5ac1a00a7e2e79e05a3af09275.zip
u-boot-imx-e7fb8ba3a7123b5ac1a00a7e2e79e05a3af09275.tar.gz
u-boot-imx-e7fb8ba3a7123b5ac1a00a7e2e79e05a3af09275.tar.bz2
GCC4.6: Squash warnings in 4xx_pcie.c
4xx_pcie.c: In function 'pcie_read_config': 4xx_pcie.c:268: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'volatile unsigned char *' Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--arch/powerpc/cpu/ppc4xx/4xx_pcie.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/4xx_pcie.c b/arch/powerpc/cpu/ppc4xx/4xx_pcie.c
index b76890e..a87e93b 100644
--- a/arch/powerpc/cpu/ppc4xx/4xx_pcie.c
+++ b/arch/powerpc/cpu/ppc4xx/4xx_pcie.c
@@ -265,7 +265,8 @@ static int pcie_read_config(struct pci_controller *hose, unsigned int devfn,
*/
pcie_dmer_disable ();
- debug("%s: cfg_data=%08x offset=%08x\n", __func__, hose->cfg_data, offset);
+ debug("%s: cfg_data=%p offset=%08x\n", __func__,
+ hose->cfg_data, offset);
switch (len) {
case 1:
*val = in_8(hose->cfg_data + offset);