dpaa2-eth: fix a build warning in dpmac.c

Fix below sparse warning in dpmac.c.
warning: cast to restricted __le64

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yangbo Lu 2020-09-18 17:22:25 +08:00 committed by David S. Miller
parent a3a94156c1
commit a128592799

View File

@ -66,8 +66,8 @@ struct dpmac_cmd_get_counter {
};
struct dpmac_rsp_get_counter {
u64 pad;
u64 counter;
__le64 pad;
__le64 counter;
};
#endif /* _FSL_DPMAC_CMD_H */