diff options
author | Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> | 2017-08-30 13:36:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-31 18:17:40 +0200 |
commit | e25201d667b36783500904585a74c7381394fcd1 (patch) | |
tree | 51ce4f6b4316736e3a0cd7db71c04b2bdd6bcbf7 /drivers/staging/unisys/include/visorbus.h | |
parent | 13fe0c8f72b9ff46f0052a074ce57ca5edd23472 (diff) | |
download | op-kernel-dev-e25201d667b36783500904585a74c7381394fcd1.zip op-kernel-dev-e25201d667b36783500904585a74c7381394fcd1.tar.gz |
staging: unisys: change pr_err to dev_err in visor_check_channel
Changing pr_err to dev_err in visor_check_channel. Added device
as an argument to visor_check_channel to pass into dev_err.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@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.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/staging/unisys/include/visorbus.h index d7fa27b..e4ee38c 100644 --- a/drivers/staging/unisys/include/visorbus.h +++ b/drivers/staging/unisys/include/visorbus.h @@ -166,9 +166,10 @@ struct visor_device { #define to_visor_device(x) container_of(x, struct visor_device, device) -int visor_check_channel(struct channel_header *ch, const guid_t *expected_guid, - char *chname, u64 expected_min_bytes, - u32 expected_version, u64 expected_signature); +int visor_check_channel(struct channel_header *ch, struct device *dev, + const guid_t *expected_uuid, char *chname, + u64 expected_min_bytes, u32 expected_version, + u64 expected_signature); int visorbus_register_visor_driver(struct visor_driver *drv); void visorbus_unregister_visor_driver(struct visor_driver *drv); |