Browse Source

staging: fsl-dpaa2/eth: Use __leXX types where needed

One MC command structure got away with using uXX fields instead
of __leXX. Fix it.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Ioana Radulescu 7 years ago
parent
commit
504e7a5c5a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h

+ 2 - 2
drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h

@@ -539,8 +539,8 @@ struct dpni_rsp_get_taildrop {
 };
 
 struct dpni_rsp_get_api_version {
-	u16 major;
-	u16 minor;
+	__le16 major;
+	__le16 minor;
 };
 
 #endif /* _FSL_DPNI_CMD_H */