swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED has been deprecated since 2.6.19 and will get removed in 2.6.39, so replace it with DEFINE_SPINLOCK(). Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 26770
This commit is contained in:
parent
6b376db844
commit
9e8cd78944
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ MODULE_LICENSE("GPL");
|
|||
|
||||
static int swdev_id = 0;
|
||||
static struct list_head swdevs;
|
||||
static spinlock_t swdevs_lock = SPIN_LOCK_UNLOCKED;
|
||||
static DEFINE_SPINLOCK(swdevs_lock);
|
||||
struct swconfig_callback;
|
||||
|
||||
struct swconfig_callback
|
||||
|
|
Loading…
Reference in a new issue