summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>2017-07-17 16:16:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-18 08:48:41 +0200
commit55b7bd03f8af93fe2014a1784939cb8e1c94fa69 (patch)
tree780832fc4959a33c40f927b48e3afcf5f7e5729b /drivers/staging/unisys
parent0330a357fffd6cbb87672fa4052f2ec9a55b0050 (diff)
downloadlinux-55b7bd03f8af93fe2014a1784939cb8e1c94fa69.tar.bz2
staging: unisys: visorbus: convert VMCALL_CONTROLVM_ADDR enum to #define
VMCALL_CONTROLVM_ADDR is the only element left in enum vmcall_monitor_interface_method_tuple. Converting it to a #define. Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com> Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: David Binder <david.binder@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visorbus/vmcallinterface.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/unisys/visorbus/vmcallinterface.h b/drivers/staging/unisys/visorbus/vmcallinterface.h
index de6693f83c6b..541911bcb6f0 100644
--- a/drivers/staging/unisys/visorbus/vmcallinterface.h
+++ b/drivers/staging/unisys/visorbus/vmcallinterface.h
@@ -17,8 +17,7 @@
#define __VMCALLINTERFACE_H__
/*
- * enum vmcall_monitor_interface_method_tuple - VMCALL identification tuples.
- * @VMCALL_CONTROLVM_ADDR: Used by all guests, not just IO.
+ * VMCALL_CONTROLVM_ADDR: Used by all guests, not just IO.
*
* Note: When a new VMCALL is added:
* - The 1st 2 hex digits correspond to one of the VMCALL_MONITOR_INTERFACE
@@ -29,9 +28,7 @@
* - The 0x01 identifies it as the 1st instance of a VMCALL_VIRTPART type of
* VMCALL.
*/
-enum vmcall_monitor_interface_method_tuple {
- VMCALL_CONTROLVM_ADDR = 0x0501,
-};
+#define VMCALL_CONTROLVM_ADDR 0x0501
enum vmcall_result {
VMCALL_RESULT_SUCCESS = 0,