summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/visorbus.h
diff options
context:
space:
mode:
authorDavid Binder <david.binder@unisys.com>2017-03-17 11:27:09 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-21 07:58:46 +0100
commit3cda79c664dfdbbfc471a055ea64ece7407ae5a0 (patch)
tree5b4a732e056b5f5b76a51ca346c310fb90669902 /drivers/staging/unisys/include/visorbus.h
parentf1844d1bcd5cde311f01e68f974e04d5db3c4f9a (diff)
downloadop-kernel-dev-3cda79c664dfdbbfc471a055ea64ece7407ae5a0.zip
op-kernel-dev-3cda79c664dfdbbfc471a055ea64ece7407ae5a0.tar.gz
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 03d56f8..0bb7903 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);
OpenPOWER on IntegriCloud