Author: marek Date: 2010-02-24 11:51:16 +0100 (Wed, 24 Feb 2010) New Revision: 1576
Modified: trunk/batman-adv-kernelland/device.c Log: batman-adv: Convert driver-staging to use spin_lock_init()
This fixes some RT-triggered compile errors and typos.
Signed-off-by: Sven-Thorsten Dietrich sdietrich@novell.com
Modified: trunk/batman-adv-kernelland/device.c =================================================================== --- trunk/batman-adv-kernelland/device.c 2010-02-16 15:44:17 UTC (rev 1575) +++ trunk/batman-adv-kernelland/device.c 2010-02-24 10:51:16 UTC (rev 1576) @@ -120,7 +120,7 @@ INIT_LIST_HEAD(&device_client->queue_list); device_client->queue_len = 0; device_client->index = i; - device_client->lock = __SPIN_LOCK_UNLOCKED(device_client->lock); + spin_lock_init(&device_client->lock); init_waitqueue_head(&device_client->queue_wait);
file->private_data = device_client;