projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rtl8366_smi: implement a function for detecting whether the attached switch is RTL836...
[openwrt.git]
/
target
/
linux
/
generic
/
files
/
drivers
/
net
/
phy
/
swconfig.c
diff --git
a/target/linux/generic/files/drivers/net/phy/swconfig.c
b/target/linux/generic/files/drivers/net/phy/swconfig.c
index
799fc29
..
16afea0
100644
(file)
--- a/
target/linux/generic/files/drivers/net/phy/swconfig.c
+++ b/
target/linux/generic/files/drivers/net/phy/swconfig.c
@@
-36,7
+36,7
@@
MODULE_LICENSE("GPL");
static int swdev_id = 0;
static struct list_head swdevs;
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
struct swconfig_callback;
struct swconfig_callback
This page took
0.024882 seconds
and
4
git commands to generate.