summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/files/include')
-rw-r--r--target/linux/generic/files/include/linux/switch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/include/linux/switch.h b/target/linux/generic/files/include/linux/switch.h
index 2c88bb327..4f4085ef8 100644
--- a/target/linux/generic/files/include/linux/switch.h
+++ b/target/linux/generic/files/include/linux/switch.h
@@ -191,7 +191,7 @@ struct switch_dev {
struct list_head dev_list;
unsigned long def_global, def_port, def_vlan;
- spinlock_t lock;
+ struct mutex sw_mutex;
struct switch_port *portbuf;
char buf[128];