staging: fsl-dpaa2/eth: Use named arguments in function definition
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Thu, 2 Aug 2018 17:24:42 +0000 (12:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:09:15 +0000 (16:09 +0200)
Checkpatch complains about unnamed arguments in a function
prototype, so fix it.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h

index 6b70c66..5064667 100644 (file)
@@ -277,10 +277,10 @@ struct dpaa2_eth_fq {
        struct dpaa2_eth_channel *channel;
        enum dpaa2_eth_fq_type type;
 
-       void (*consume)(struct dpaa2_eth_priv *,
-                       struct dpaa2_eth_channel *,
-                       const struct dpaa2_fd *,
-                       struct napi_struct *,
+       void (*consume)(struct dpaa2_eth_priv *priv,
+                       struct dpaa2_eth_channel *ch,
+                       const struct dpaa2_fd *fd,
+                       struct napi_struct *napi,
                        u16 queue_id);
        struct dpaa2_eth_fq_stats stats;
 };