From 55b7bd03f8af93fe2014a1784939cb8e1c94fa69 Mon Sep 17 00:00:00 2001 From: Sameer Wadgaonkar Date: Mon, 17 Jul 2017 16:16:55 -0400 Subject: [PATCH] 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 Signed-off-by: David Kershner Reviewed-by: David Binder Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/visorbus/vmcallinterface.h | 7 ++----- 1 file 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, -- 2.20.1