aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/edac/edac_core.h2
-rw-r--r--drivers/edac/edac_device.c2
-rw-r--r--drivers/edac/edac_module.c4
-rw-r--r--drivers/edac/edac_pci.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/edac/edac_core.h b/drivers/edac/edac_core.h
index d8435297df3d..e49dce069d1f 100644
--- a/drivers/edac/edac_core.h
+++ b/drivers/edac/edac_core.h
@@ -845,6 +845,6 @@ extern void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci);
845/* 845/*
846 * edac misc APIs 846 * edac misc APIs
847 */ 847 */
848extern char *edac_op_state_toString(int op_state); 848extern char *edac_op_state_to_string(int op_state);
849 849
850#endif /* _EDAC_CORE_H_ */ 850#endif /* _EDAC_CORE_H_ */
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c
index d60f5df87af5..1d2eb20304f6 100644
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -461,7 +461,7 @@ int edac_device_add_device(struct edac_device_ctl_info *edac_dev, int edac_idx)
461 edac_dev->mod_name, 461 edac_dev->mod_name,
462 edac_dev->ctl_name, 462 edac_dev->ctl_name,
463 dev_name(edac_dev), 463 dev_name(edac_dev),
464 edac_op_state_toString(edac_dev->op_state)); 464 edac_op_state_to_string(edac_dev->op_state));
465 465
466 up(&device_ctls_mutex); 466 up(&device_ctls_mutex);
467 return 0; 467 return 0;
diff --git a/drivers/edac/edac_module.c b/drivers/edac/edac_module.c
index 9e7406f28b3b..07bd16564780 100644
--- a/drivers/edac/edac_module.c
+++ b/drivers/edac/edac_module.c
@@ -35,9 +35,9 @@ static struct sysdev_class edac_class = {
35static int edac_class_valid; 35static int edac_class_valid;
36 36
37/* 37/*
38 * edac_op_state_toString() 38 * edac_op_state_to_string()
39 */ 39 */
40char *edac_op_state_toString(int opstate) 40char *edac_op_state_to_string(int opstate)
41{ 41{
42 if (opstate == OP_RUNNING_POLL) 42 if (opstate == OP_RUNNING_POLL)
43 return "POLLED"; 43 return "POLLED";
diff --git a/drivers/edac/edac_pci.c b/drivers/edac/edac_pci.c
index fd0b1222dc75..d9cd5e048cee 100644
--- a/drivers/edac/edac_pci.c
+++ b/drivers/edac/edac_pci.c
@@ -321,7 +321,7 @@ int edac_pci_add_device(struct edac_pci_ctl_info *pci, int edac_idx)
321 " DEV '%s' (%s)\n", 321 " DEV '%s' (%s)\n",
322 pci->mod_name, 322 pci->mod_name,
323 pci->ctl_name, 323 pci->ctl_name,
324 dev_name(pci), edac_op_state_toString(pci->op_state)); 324 dev_name(pci), edac_op_state_to_string(pci->op_state));
325 325
326 edac_unlock_pci_list(); 326 edac_unlock_pci_list();
327 return 0; 327 return 0;