diff options
author | Arnd Bergmann <[email protected]> | 2012-04-30 13:34:13 +0000 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2012-10-09 21:58:01 +0200 |
commit | bfbad32a63fa6287723961f07bcd043dc9c5965c (patch) | |
tree | e8cb3ea67804a4d3c040f139cc6945483891f00d /tools/perf/scripts/python | |
parent | 782cd9ee985b1523f1ddad57657a24d7855d9e4d (diff) |
ARM: pxa: armcore: fix PCI PIO warnings
The it8152 PCI host used on the pxa/cm_x2xx machines
uses the old-style I/O window registration. This should
eventually get converted to pci_ioremap_io() but for
now, let's cast the IT8152_IO_BASE constant to an integer
type to get rid of the warnings.
Without this patch, building cm_x2xx_defconfig results in:
arch/arm/common/it8152.c: In function 'it8152_pci_setup':
arch/arm/common/it8152.c:287:18: warning: assignment makes integer from pointer without a cast [enabled by default]
arch/arm/common/it8152.c:288:16: warning: assignment makes integer from pointer without a cast [enabled by default]
arch/arm/common/it8152.c:291:17: warning: assignment makes integer from pointer without a cast [enabled by default]
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Igor Grinberg <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Krzysztof Halasa <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Haojian Zhuang <[email protected]>
Cc: Eric Miao <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions