swconfig: Replace SPIN_LOCK_UNLOCKED with DEFINE_SPINLOCK
authorFelix Fietkau <nbd@openwrt.org>
Tue, 26 Apr 2011 23:05:29 +0000 (23:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 26 Apr 2011 23:05:29 +0000 (23:05 +0000)
commite0cb25837f181bd25d8393e6f9c7401b4ddc51ad
tree4b9575d5ed43605d7faccfc664cf494f28d5ea40
parent5a32b7a3729da6fe5ff49f3c170f3d8810a2b73d
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26770 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/swconfig.c