From: Jeffrey <jeffrey.br...@unisys.com> Changed this static struct pointer to periodic_controlvm_workqueue Periodic_controlvm_workqueue => periodic_controlvm_workqueue
Signed-off-by: Jeffrey Brown <jeffrey.br...@unisys.com> --- .../staging/unisys/visorchipset/visorchipset_main.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 2edf841..58ffe19 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -68,7 +68,7 @@ static int clientregistered; static u8 chipset_events[MAX_CHIPSET_EVENTS] = { 0, 0 }; static struct delayed_work periodic_controlvm_work; -static struct workqueue_struct *Periodic_controlvm_workqueue; +static struct workqueue_struct *periodic_controlvm_workqueue; static DEFINE_SEMAPHORE(NotifierLock); typedef struct { @@ -2049,7 +2049,7 @@ Away: } } - queue_delayed_work(Periodic_controlvm_workqueue, + queue_delayed_work(periodic_controlvm_workqueue, &periodic_controlvm_work, poll_jiffies); } @@ -2162,7 +2162,7 @@ Away: poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_SLOW; - queue_delayed_work(Periodic_controlvm_workqueue, + queue_delayed_work(periodic_controlvm_workqueue, &periodic_controlvm_work, poll_jiffies); } @@ -2455,10 +2455,10 @@ visorchipset_init(void) else INIT_DELAYED_WORK(&periodic_controlvm_work, controlvm_periodic_work); - Periodic_controlvm_workqueue = + periodic_controlvm_workqueue = create_singlethread_workqueue("visorchipset_controlvm"); - if (Periodic_controlvm_workqueue == NULL) { + if (periodic_controlvm_workqueue == NULL) { ERRDRV("cannot create controlvm workqueue: (status=%d)\n", -ENOMEM); POSTCODE_LINUX_2(CREATE_WORKQUEUE_FAILED_PC, @@ -2468,7 +2468,7 @@ visorchipset_init(void) } most_recent_message_jiffies = jiffies; poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST; - rc = queue_delayed_work(Periodic_controlvm_workqueue, + rc = queue_delayed_work(periodic_controlvm_workqueue, &periodic_controlvm_work, poll_jiffies); if (rc < 0) { ERRDRV("queue_delayed_work(Periodic_controlvm_workqueue, &Periodic_controlvm_work, Poll_jiffies): error (status=%d)\n", rc); @@ -2508,9 +2508,9 @@ visorchipset_exit(void) ; } else { cancel_delayed_work(&periodic_controlvm_work); - flush_workqueue(Periodic_controlvm_workqueue); - destroy_workqueue(Periodic_controlvm_workqueue); - Periodic_controlvm_workqueue = NULL; + flush_workqueue(periodic_controlvm_workqueue); + destroy_workqueue(periodic_controlvm_workqueue); + periodic_controlvm_workqueue = NULL; destroy_controlvm_payload_info(&ControlVm_payload_info); } Test_Vnic_channel = NULL; -- 1.8.4 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel