EDAC, fsl_ddr: Make locally used symbols static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 9 Feb 2017 15:04:24 +0000 (15:04 +0000)
committerBorislav Petkov <bp@suse.de>
Thu, 9 Feb 2017 16:40:54 +0000 (17:40 +0100)
commit279fa580356301df27724a4b14ab4a95b65828fb
tree817f9f446a9ede608bbb28d6fa6f4e66d91e6d10
parent321d17c19bf51a5e0ea19163f7091563c70415a6
EDAC, fsl_ddr: Make locally used symbols static

Fix the following sparse warnings:

  drivers/edac/fsl_ddr_edac.c:148:1: warning:
   symbol 'dev_attr_inject_data_hi' was not declared. Should it be static?
  drivers/edac/fsl_ddr_edac.c:150:1: warning:
   symbol 'dev_attr_inject_data_lo' was not declared. Should it be static?
  drivers/edac/fsl_ddr_edac.c:152:1: warning:
   symbol 'dev_attr_inject_ctrl' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170209150424.15124-1-weiyj.lk@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/fsl_ddr_edac.c