diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2013-09-30 12:44:46 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-11-22 17:03:17 -0600 |
commit | 82ef75ca5c69c7d053c07f509a901d2ad2e29570 (patch) | |
tree | 0ddbc336a44edcb47271c7d4c7977fd0c5cc2cf0 /drivers/net | |
parent | 9c9141fd04f0991209dab9fe2716ce19b2a4f552 (diff) | |
download | u-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/net')
-rw-r--r-- | drivers/net/tsec.c | 2 |
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(®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); |