From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> Changed the camel case g_DeviceChangeStatePacket to g_deicechange- statepacket g_DeviceChangeStatePacket => g_devicechangestatepacket Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx> --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 4a1b69b..add38d5 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -84,7 +84,7 @@ static const uuid_le ultradiagpoolchannelprotocolguid = /* 0xffffff is an invalid Bus/Device number */ static ulong g_diagpoolbusno = 0xffffff; static ulong g_diagpooldevno = 0xffffff; -static struct controlvm_message_packet g_DeviceChangeStatePacket; +static struct controlvm_message_packet g_devicechangestatepacket; /* Only VNIC and VHBA channels are sent to visorclientbus (aka * "visorhackbus") @@ -719,11 +719,11 @@ controlvm_respond(struct controlvm_message_header *msgHdr, int response) /* For DiagPool channel DEVICE_CHANGESTATE, we need to send * back the deviceChangeState structure in the packet. */ if (msgHdr->id == CONTROLVM_DEVICE_CHANGESTATE && - g_DeviceChangeStatePacket.device_change_state.bus_no == + g_devicechangestatepacket.device_change_state.bus_no == g_diagpoolbusno && - g_DeviceChangeStatePacket.device_change_state.dev_no == + g_devicechangestatepacket.device_change_state.dev_no == g_diagpooldevno) - outmsg.cmd = g_DeviceChangeStatePacket; + outmsg.cmd = g_devicechangestatepacket; if (outmsg.hdr.flags.test_message == 1) { LOGINF("%s controlvm_msg=0x%x response=%d for test message", __func__, outmsg.hdr.id, response); @@ -1884,7 +1884,7 @@ handle_command(struct controlvm_message inmsg, HOSTADDRESS channel_addr) /* when sending back the response to Command */ my_device_changestate(&inmsg); g_diagmsghdr = inmsg.hdr; - g_DeviceChangeStatePacket = inmsg.cmd; + g_devicechangestatepacket = inmsg.cmd; break; } break; -- 1.8.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel