summaryrefslogtreecommitdiffstats
path: root/drivers/edac/sb_edac.c
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-12-14 19:32:09 +0530
committerBorislav Petkov <bp@suse.de>2013-12-15 18:02:13 +0100
commit8112c0cdf7b86f5917cdffcff4ffc477eaa62ed4 (patch)
tree41540a211e1456941be0f3325ebf7f5720e4198d /drivers/edac/sb_edac.c
parent95285933d086271c2e05edd3949a190551625928 (diff)
downloadop-kernel-dev-8112c0cdf7b86f5917cdffcff4ffc477eaa62ed4.zip
op-kernel-dev-8112c0cdf7b86f5917cdffcff4ffc477eaa62ed4.tar.gz
sb_edac: Mark get_mci_for_node_id as static
This patch marks the function get_mci_for_node_id() as static because it is not used outside of sb_edac.c. Thus, it also eliminates the following warning: drivers/edac/sb_edac.c:918:22: warning: no previous prototype for ‘get_mci_for_node_id’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Link: http://lkml.kernel.org/r/0441f508186fc4eeabc8e9c3e4dde013d99405d4.1387029387.git.rashika.kheria@gmail.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/sb_edac.c')
-rw-r--r--drivers/edac/sb_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c
index b5d254b..747421e 100644
--- a/drivers/edac/sb_edac.c
+++ b/drivers/edac/sb_edac.c
@@ -915,7 +915,7 @@ static void get_memory_layout(const struct mem_ctl_info *mci)
}
}
-struct mem_ctl_info *get_mci_for_node_id(u8 node_id)
+static struct mem_ctl_info *get_mci_for_node_id(u8 node_id)
{
struct sbridge_dev *sbridge_dev;
OpenPOWER on IntegriCloud