diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2013-12-10 09:22:22 (GMT) |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-12-11 19:12:29 (GMT) |
commit | 5037947a02f884219795e2c989d3a0a840fcd292 (patch) | |
tree | 52df8743cbb932a2263f80841e747c63924afbf7 /arch/powerpc | |
parent | 732dfe090d50af53bb682d0c8971784f8de1f90f (diff) | |
download | u-boot-5037947a02f884219795e2c989d3a0a840fcd292.tar.xz |
powerpc/p1_p2_rdb_pc: Fix warnings for __iomem pointers
Add the __iomem address space marker for the tsec pointers
to struct tsec_mii_mng memory mapped register regions.
This solves the sparse warnings for mixig normal pointers with
__iomem pointers for tsec.
p1_p2_rdb_pc.c:373:24: warning: incorrect type in assignment (different
address spaces)
p1_p2_rdb_pc.c:373:24: expected struct tsec_mii_mng [noderef]
<asn:2>*regs
p1_p2_rdb_pc.c:373:24: got struct tsec_mii_mng *<noident>
Use TSEC_GET_MDIO_REGS_BASE() for the remaining mdio 'regs'
initializations to remove the __iomem warnings and for consistency.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions