summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorJon Frisch2017-05-19 22:17:35 +0200
committerGreg Kroah-Hartman2017-05-25 18:53:12 +0200
commit603a1989c67785d2fec4d881067291adb904f1d7 (patch)
treec40851397c3dc018b95ae04121a6c4465f59822a /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: ccree: Cleanup: remove references to page_link (diff)
downloadkernel-qcow2-linux-603a1989c67785d2fec4d881067291adb904f1d7.tar.gz
kernel-qcow2-linux-603a1989c67785d2fec4d881067291adb904f1d7.tar.xz
kernel-qcow2-linux-603a1989c67785d2fec4d881067291adb904f1d7.zip
staging: unisys: visorbus: rename typ to cr_type
This patch renames enum crash_obj_type typ to cr_type. Signed-off-by: Jon Frisch <jon.frisch@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 4cfd0fae9bd5..951e009a5dd6 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -470,7 +470,7 @@ enum crash_obj_type {
};
static int
-save_crash_message(struct controlvm_message *msg, enum crash_obj_type typ)
+save_crash_message(struct controlvm_message *msg, enum crash_obj_type cr_type)
{
u32 local_crash_msg_offset;
u16 local_crash_msg_count;
@@ -502,7 +502,7 @@ save_crash_message(struct controlvm_message *msg, enum crash_obj_type typ)
return err;
}
- switch (typ) {
+ switch (cr_type) {
case CRASH_DEV:
local_crash_msg_offset += sizeof(struct controlvm_message);
err = visorchannel_write(chipset_dev->controlvm_channel,