Changeset 1576

Show
Ignore:
Timestamp:
02/24/10 11:51:16 (5 months ago)
Author:
marek
Message:

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@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/batman-adv-kernelland/device.c

    r1574 r1576  
    121121        device_client->queue_len = 0; 
    122122        device_client->index = i; 
    123         device_client->lock = __SPIN_LOCK_UNLOCKED(device_client->lock); 
     123        spin_lock_init(&device_client->lock); 
    124124        init_waitqueue_head(&device_client->queue_wait); 
    125125