diff options
-rw-r--r-- | drivers/char/hvc_console.c | 2 | ||||
-rw-r--r-- | drivers/char/hvcs.c | 2 | ||||
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c index 480fae29c9b2..44160d5ebca0 100644 --- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c | |||
@@ -93,7 +93,7 @@ struct hvc_struct { | |||
93 | }; | 93 | }; |
94 | 94 | ||
95 | /* dynamic list of hvc_struct instances */ | 95 | /* dynamic list of hvc_struct instances */ |
96 | static struct list_head hvc_structs = LIST_HEAD_INIT(hvc_structs); | 96 | static LIST_HEAD(hvc_structs); |
97 | 97 | ||
98 | /* | 98 | /* |
99 | * Protect the list of hvc_struct instances from inserts and removals during | 99 | * Protect the list of hvc_struct instances from inserts and removals during |
diff --git a/drivers/char/hvcs.c b/drivers/char/hvcs.c index 3402def22007..786d518e9477 100644 --- a/drivers/char/hvcs.c +++ b/drivers/char/hvcs.c | |||
@@ -306,7 +306,7 @@ struct hvcs_struct { | |||
306 | /* Required to back map a kref to its containing object */ | 306 | /* Required to back map a kref to its containing object */ |
307 | #define from_kref(k) container_of(k, struct hvcs_struct, kref) | 307 | #define from_kref(k) container_of(k, struct hvcs_struct, kref) |
308 | 308 | ||
309 | static struct list_head hvcs_structs = LIST_HEAD_INIT(hvcs_structs); | 309 | static LIST_HEAD(hvcs_structs); |
310 | static DEFINE_SPINLOCK(hvcs_structs_lock); | 310 | static DEFINE_SPINLOCK(hvcs_structs_lock); |
311 | 311 | ||
312 | static void hvcs_unthrottle(struct tty_struct *tty); | 312 | static void hvcs_unthrottle(struct tty_struct *tty); |
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 5dc1265ce1d5..d01c4ff88e63 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
@@ -365,12 +365,12 @@ static struct device_driver ipmidriver = { | |||
365 | }; | 365 | }; |
366 | static DEFINE_MUTEX(ipmidriver_mutex); | 366 | static DEFINE_MUTEX(ipmidriver_mutex); |
367 | 367 | ||
368 | static struct list_head ipmi_interfaces = LIST_HEAD_INIT(ipmi_interfaces); | 368 | static LIST_HEAD(ipmi_interfaces); |
369 | static DEFINE_MUTEX(ipmi_interfaces_mutex); | 369 | static DEFINE_MUTEX(ipmi_interfaces_mutex); |
370 | 370 | ||
371 | /* List of watchers that want to know when smi's are added and | 371 | /* List of watchers that want to know when smi's are added and |
372 | deleted. */ | 372 | deleted. */ |
373 | static struct list_head smi_watchers = LIST_HEAD_INIT(smi_watchers); | 373 | static LIST_HEAD(smi_watchers); |
374 | static DEFINE_MUTEX(smi_watchers_mutex); | 374 | static DEFINE_MUTEX(smi_watchers_mutex); |
375 | 375 | ||
376 | 376 | ||