summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2013-09-30 12:44:46 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2013-11-22 17:03:17 -0600
commit82ef75ca5c69c7d053c07f509a901d2ad2e29570 (patch)
tree0ddbc336a44edcb47271c7d4c7977fd0c5cc2cf0 /drivers
parent9c9141fd04f0991209dab9fe2716ce19b2a4f552 (diff)
downloadu-boot-imx-82ef75ca5c69c7d053c07f509a901d2ad2e29570.zip
u-boot-imx-82ef75ca5c69c7d053c07f509a901d2ad2e29570.tar.gz
u-boot-imx-82ef75ca5c69c7d053c07f509a901d2ad2e29570.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/tsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c
index e354fad..082cdec 100644
--- a/drivers/net/tsec.c
+++ b/drivers/net/tsec.c
@@ -166,7 +166,7 @@ static void init_registers(struct tsec __iomem *regs)
out_be32(&regs->rctrl, 0x00000000);
/* Init RMON mib registers */
- memset((void *)&(regs->rmon), 0, sizeof(rmon_mib_t));
+ memset((void *)&regs->rmon, 0, sizeof(regs->rmon));
out_be32(&regs->rmon.cam1, 0xffffffff);
out_be32(&regs->rmon.cam2, 0xffffffff);