mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
EDAC: Mark edac_create_debug_nodes as static
This patch marks the function edac_create_debug_nodes() as static because it is not used outside of edac_mc_sysfs.c. Thus, it also eliminates the following warning: drivers/edac/edac_mc_sysfs.c:917:5: warning: no previous prototype for ‘edac_create_debug_nodes’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Link: http://lkml.kernel.org/r/a1c863b08c0d6f67d03280cf908c771bf26a3239.1387029387.git.rashika.kheria@gmail.com Signed-off-by: Borislav Petkov <[email protected]>
This commit is contained in:
parent
d1ea71cdc9
commit
95285933d0
1 changed files with 1 additions and 1 deletions
|
|
@ -914,7 +914,7 @@ void __exit edac_debugfs_exit(void)
|
|||
debugfs_remove(edac_debugfs);
|
||||
}
|
||||
|
||||
int edac_create_debug_nodes(struct mem_ctl_info *mci)
|
||||
static int edac_create_debug_nodes(struct mem_ctl_info *mci)
|
||||
{
|
||||
struct dentry *d, *parent;
|
||||
char name[80];
|
||||
|
|
|
|||
Loading…
Reference in a new issue