EDAC: Make dev_attr_sdram_scrub_rate static
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 17:35:56 +0000 (18:35 +0100)
committerBorislav Petkov <bp@suse.de>
Fri, 6 Jan 2017 14:54:16 +0000 (15:54 +0100)
commit628ea92f0928c72d5ab88785e794ab4059f3f17d
treefc2bbeb6fc9e569b6c4242e61f892c07701bfda0
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
EDAC: Make dev_attr_sdram_scrub_rate static

The dev_attr_sdram_scrub_rate is not declared in a header or used
anywhere else, so make it static to fix the following warning:

  drivers/edac/edac_mc_sysfs.c:816:1: warning: symbol
  'dev_attr_sdram_scrub_rate' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1465407356-7357-1-git-send-email-ben.dooks@codethink.co.uk
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/edac_mc_sysfs.c