summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/visorbus.h
diff options
context:
space:
mode:
authorDavid Binder2017-03-17 16:27:09 +0100
committerGreg Kroah-Hartman2017-03-21 07:58:46 +0100
commit3cda79c664dfdbbfc471a055ea64ece7407ae5a0 (patch)
tree5b4a732e056b5f5b76a51ca346c310fb90669902 /drivers/staging/unisys/include/visorbus.h
parentstaging: unisys: visorinput: Remove unnecessary usage of local variable (diff)
downloadkernel-qcow2-linux-3cda79c664dfdbbfc471a055ea64ece7407ae5a0.tar.gz
kernel-qcow2-linux-3cda79c664dfdbbfc471a055ea64ece7407ae5a0.tar.xz
kernel-qcow2-linux-3cda79c664dfdbbfc471a055ea64ece7407ae5a0.zip
staging: unisys: include: Add function definition argument identifier
Adds identifier to function definition arguments to satisfy checkpatch warnings: WARNING: function definition argument 'struct visor_driver *' should also have an identifier name WARNING: function definition argument 'struct visor_driver *' should also have an identifier name Signed-off-by: David Binder <david.binder@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/include/visorbus.h')
-rw-r--r--drivers/staging/unisys/include/visorbus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h
index 03d56f818a86..0bb79039bfe2 100644
--- a/drivers/staging/unisys/include/visorbus.h
+++ b/drivers/staging/unisys/include/visorbus.h
@@ -172,8 +172,8 @@ struct visor_device {
#define to_visor_device(x) container_of(x, struct visor_device, device)
-int visorbus_register_visor_driver(struct visor_driver *);
-void visorbus_unregister_visor_driver(struct visor_driver *);
+int visorbus_register_visor_driver(struct visor_driver *drv);
+void visorbus_unregister_visor_driver(struct visor_driver *drv);
int visorbus_read_channel(struct visor_device *dev,
unsigned long offset, void *dest,
unsigned long nbytes);