aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/fsl-mc
diff options
context:
space:
mode:
authorRoy Pledge <roy.pledge@nxp.com>2018-03-07 16:50:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-08 09:58:42 -0800
commit0922a464a621eab112486c93b14f414409f0d904 (patch)
tree266378a9937e823a149a71db41f83845ef0f77df /drivers/staging/fsl-mc
parentstaging: fsl-mc/dpio: Fix incorrect masking (diff)
downloadlinux-dev-0922a464a621eab112486c93b14f414409f0d904.tar.xz
linux-dev-0922a464a621eab112486c93b14f414409f0d904.zip
staging: fsl-mc/dpio: Add missing argument identifier
When running checkpatch over the DPIO code the following warning is reported: WARNING: function definition argument 'struct dpaa2_io_notification_ctx *' should also have an identifier name Add the missing identifier. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc')
-rw-r--r--drivers/staging/fsl-mc/include/dpaa2-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl-mc/include/dpaa2-io.h b/drivers/staging/fsl-mc/include/dpaa2-io.h
index 9cb1eec87a9c..f71227d3df8d 100644
--- a/drivers/staging/fsl-mc/include/dpaa2-io.h
+++ b/drivers/staging/fsl-mc/include/dpaa2-io.h
@@ -80,7 +80,7 @@ struct dpaa2_io *dpaa2_io_service_select(int cpu);
* Used when a FQDAN/CDAN registration is made by drivers.
*/
struct dpaa2_io_notification_ctx {
- void (*cb)(struct dpaa2_io_notification_ctx *);
+ void (*cb)(struct dpaa2_io_notification_ctx *ctx);
int is_cdan;
u32 id;
int desired_cpu;