diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-05-19 12:39:12 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-05-21 22:55:12 +0300 |
commit | 5f0744e50db1628d6de770b92278445b3de2779f (patch) | |
tree | 2dd921242b24017a770613d79c6a7a0f29924802 /drivers | |
parent | 7bf130e4a0653f6cec83a387de5de0c2c9fa4dba (diff) | |
download | linux-5f0744e50db1628d6de770b92278445b3de2779f.tar.xz |
RAS: Make local function parse_ras_param() static
Make parse_ras_param() static as it is used locally only.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20170516161034.2973-1-weiyj.lk@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ras/ras.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ras/ras.c b/drivers/ras/ras.c index 94f8038864b4..ed4c343d08c4 100644 --- a/drivers/ras/ras.c +++ b/drivers/ras/ras.c @@ -29,7 +29,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(extlog_mem_event); EXPORT_TRACEPOINT_SYMBOL_GPL(mc_event); -int __init parse_ras_param(char *str) +static int __init parse_ras_param(char *str) { #ifdef CONFIG_RAS_CEC parse_cec_param(str); |