From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> Changed this camel case to periodic_controlvm_work Periodic_controlvm_work => periodic_controlvm_work Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx> --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 9f52d5c..2edf841 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -67,7 +67,7 @@ static int clientregistered; #define MAX_CHIPSET_EVENTS 2 static u8 chipset_events[MAX_CHIPSET_EVENTS] = { 0, 0 }; -static struct delayed_work Periodic_controlvm_work; +static struct delayed_work periodic_controlvm_work; static struct workqueue_struct *Periodic_controlvm_workqueue; static DEFINE_SEMAPHORE(NotifierLock); @@ -2050,7 +2050,7 @@ Away: } queue_delayed_work(Periodic_controlvm_workqueue, - &Periodic_controlvm_work, poll_jiffies); + &periodic_controlvm_work, poll_jiffies); } static void @@ -2163,7 +2163,7 @@ Away: poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_SLOW; queue_delayed_work(Periodic_controlvm_workqueue, - &Periodic_controlvm_work, poll_jiffies); + &periodic_controlvm_work, poll_jiffies); } static void @@ -2450,10 +2450,10 @@ visorchipset_init(void) } else { /* if booting in a crash kernel */ if (visorchipset_crash_kernel) - INIT_DELAYED_WORK(&Periodic_controlvm_work, + INIT_DELAYED_WORK(&periodic_controlvm_work, setup_crash_devices_work_queue); else - INIT_DELAYED_WORK(&Periodic_controlvm_work, + INIT_DELAYED_WORK(&periodic_controlvm_work, controlvm_periodic_work); Periodic_controlvm_workqueue = create_singlethread_workqueue("visorchipset_controlvm"); @@ -2469,7 +2469,7 @@ visorchipset_init(void) most_recent_message_jiffies = jiffies; poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST; rc = queue_delayed_work(Periodic_controlvm_workqueue, - &Periodic_controlvm_work, poll_jiffies); + &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); POSTCODE_LINUX_2(QUEUE_DELAYED_WORK_PC, @@ -2507,7 +2507,7 @@ visorchipset_exit(void) if (visorchipset_disable_controlvm) { ; } else { - cancel_delayed_work(&Periodic_controlvm_work); + cancel_delayed_work(&periodic_controlvm_work); flush_workqueue(Periodic_controlvm_workqueue); destroy_workqueue(Periodic_controlvm_workqueue); Periodic_controlvm_workqueue = NULL; -- 1.8.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel