From: Sameer Wadgaonkar <sameer.wadgaon...@unisys.com> 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.wadgaon...@unisys.com> Signed-off-by: David Kershner <david.kersh...@unisys.com> Reviewed-by: David Binder <david.bin...@unisys.com> --- 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 de6693f..541911b 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, -- git-series 0.9.1 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel