net: tsec: Use portable regs type (uint->u32)
Use cross arch portable u32 instead of uint for the tsec registers. Remove the typedefs for the register struct definitions in the process. Fix long lines. Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
This commit is contained in:
committed by
Joe Hershberger
parent
9c9141fd04
commit
82ef75ca5c
@@ -166,7 +166,7 @@ static void init_registers(struct tsec __iomem *regs)
|
||||
out_be32(®s->rctrl, 0x00000000);
|
||||
|
||||
/* Init RMON mib registers */
|
||||
memset((void *)&(regs->rmon), 0, sizeof(rmon_mib_t));
|
||||
memset((void *)®s->rmon, 0, sizeof(regs->rmon));
|
||||
|
||||
out_be32(®s->rmon.cam1, 0xffffffff);
|
||||
out_be32(®s->rmon.cam2, 0xffffffff);
|
||||
|
||||
Reference in New Issue
Block a user