From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> Replaced the static DEFINE_SEMAPHORE NotifierLock with notifierlock NotifierLock => notifierlock Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx> --- .../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 58ffe19..8099c21 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -69,7 +69,7 @@ static u8 chipset_events[MAX_CHIPSET_EVENTS] = { 0, 0 }; static struct delayed_work periodic_controlvm_work; static struct workqueue_struct *periodic_controlvm_workqueue; -static DEFINE_SEMAPHORE(NotifierLock); +static DEFINE_SEMAPHORE(notifierlock); typedef struct { struct controlvm_message message; @@ -600,7 +600,7 @@ visorchipset_register_busdev_server( struct visorchipset_busdev_responders *responders, struct ultra_vbus_deviceinfo *driver_info) { - down(&NotifierLock); + down(¬ifierlock); if (notifiers == NULL) { memset(&BusDev_Server_Notifiers, 0, sizeof(BusDev_Server_Notifiers)); @@ -615,7 +615,7 @@ visorchipset_register_busdev_server( bus_device_info_init(driver_info, "chipset", "visorchipset", VERSION, NULL); - up(&NotifierLock); + up(¬ifierlock); } EXPORT_SYMBOL_GPL(visorchipset_register_busdev_server); @@ -625,7 +625,7 @@ visorchipset_register_busdev_client( struct visorchipset_busdev_responders *responders, struct ultra_vbus_deviceinfo *driver_info) { - down(&NotifierLock); + down(¬ifierlock); if (notifiers == NULL) { memset(&BusDev_Client_Notifiers, 0, sizeof(BusDev_Client_Notifiers)); @@ -639,7 +639,7 @@ visorchipset_register_busdev_client( if (driver_info) bus_device_info_init(driver_info, "chipset(bolts)", "visorchipset", VERSION, NULL); - up(&NotifierLock); + up(¬ifierlock); } EXPORT_SYMBOL_GPL(visorchipset_register_busdev_client); @@ -958,7 +958,7 @@ bus_epilog(u32 busNo, } else { pBusInfo->pending_msg_hdr.id = CONTROLVM_INVALID; } - down(&NotifierLock); + down(¬ifierlock); if (response == CONTROLVM_RESP_SUCCESS) { switch (cmd) { case CONTROLVM_BUS_CREATE: @@ -1003,7 +1003,7 @@ bus_epilog(u32 busNo, ; else bus_responder(cmd, busNo, response); - up(&NotifierLock); + up(¬ifierlock); } static void @@ -1035,7 +1035,7 @@ device_epilog(u32 busNo, u32 devNo, struct spar_segment_state state, u32 cmd, } else { pDevInfo->pending_msg_hdr.id = CONTROLVM_INVALID; } - down(&NotifierLock); + down(¬ifierlock); if (response >= 0) { switch (cmd) { case CONTROLVM_DEVICE_CREATE: @@ -1102,7 +1102,7 @@ device_epilog(u32 busNo, u32 devNo, struct spar_segment_state state, u32 cmd, ; else device_responder(cmd, busNo, devNo, response); - up(&NotifierLock); + up(¬ifierlock); } static void -- 1.8.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel