diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-29 04:03:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:26 -0400 |
commit | ff6ac2a616c85d1215899ffda815e29b699cbd3a (patch) | |
tree | 789b503f282fa30487b04c11096fe3487e6b8566 /drivers/edac | |
parent | 94ee1cf5a88e12f5cbf8c0c78a6c18d3e043241e (diff) |
edac: use the shorter LIST_HEAD for brevity
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Acked-by: Doug Thompson <norsk5@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/edac_device.c | 2 | ||||
-rw-r--r-- | drivers/edac/edac_mc.c | 2 | ||||
-rw-r--r-- | drivers/edac/edac_pci.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index b9552bc03dea..c559bf543422 100644 --- a/drivers/edac/edac_device.c +++ b/drivers/edac/edac_device.c | |||
@@ -36,7 +36,7 @@ | |||
36 | * is protected by the 'device_ctls_mutex' lock | 36 | * is protected by the 'device_ctls_mutex' lock |
37 | */ | 37 | */ |
38 | static DEFINE_MUTEX(device_ctls_mutex); | 38 | static DEFINE_MUTEX(device_ctls_mutex); |
39 | static struct list_head edac_device_list = LIST_HEAD_INIT(edac_device_list); | 39 | static LIST_HEAD(edac_device_list); |
40 | 40 | ||
41 | #ifdef CONFIG_EDAC_DEBUG | 41 | #ifdef CONFIG_EDAC_DEBUG |
42 | static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev) | 42 | static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev) |
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 063a1bffe38b..9cd778f920a4 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -36,7 +36,7 @@ | |||
36 | 36 | ||
37 | /* lock to memory controller's control array */ | 37 | /* lock to memory controller's control array */ |
38 | static DEFINE_MUTEX(mem_ctls_mutex); | 38 | static DEFINE_MUTEX(mem_ctls_mutex); |
39 | static struct list_head mc_devices = LIST_HEAD_INIT(mc_devices); | 39 | static LIST_HEAD(mc_devices); |
40 | 40 | ||
41 | #ifdef CONFIG_EDAC_DEBUG | 41 | #ifdef CONFIG_EDAC_DEBUG |
42 | 42 | ||
diff --git a/drivers/edac/edac_pci.c b/drivers/edac/edac_pci.c index 32be43576a8e..2d4176c3133e 100644 --- a/drivers/edac/edac_pci.c +++ b/drivers/edac/edac_pci.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "edac_module.h" | 29 | #include "edac_module.h" |
30 | 30 | ||
31 | static DEFINE_MUTEX(edac_pci_ctls_mutex); | 31 | static DEFINE_MUTEX(edac_pci_ctls_mutex); |
32 | static struct list_head edac_pci_list = LIST_HEAD_INIT(edac_pci_list); | 32 | static LIST_HEAD(edac_pci_list); |
33 | 33 | ||
34 | /* | 34 | /* |
35 | * edac_pci_alloc_ctl_info | 35 | * edac_pci_alloc_ctl_info |