diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-14 19:32:09 +0530 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-12-15 18:02:13 +0100 |
commit | 8112c0cdf7b86f5917cdffcff4ffc477eaa62ed4 (patch) | |
tree | 41540a211e1456941be0f3325ebf7f5720e4198d /drivers/edac | |
parent | 95285933d086271c2e05edd3949a190551625928 (diff) | |
download | blackbird-op-linux-8112c0cdf7b86f5917cdffcff4ffc477eaa62ed4.tar.gz blackbird-op-linux-8112c0cdf7b86f5917cdffcff4ffc477eaa62ed4.zip |
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')
-rw-r--r-- | drivers/edac/sb_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index b5d254bb4913..747421e03182 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; |