diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-02-22 06:44:17 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-03-05 11:33:57 +0100 |
commit | fbe2d3616cee37418d832b30130811888c5aaf34 (patch) | |
tree | 2da32fb8f7f2afe32d62677db8e4be7918e1fb04 /drivers/edac/edac_mc_sysfs.c | |
parent | Linux 3.9-rc1 (diff) | |
download | linux-fbe2d3616cee37418d832b30130811888c5aaf34.tar.xz linux-fbe2d3616cee37418d832b30130811888c5aaf34.zip |
EDAC: Make sysfs functions static
Fixes lots of sparse warnings here.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/edac_mc_sysfs.c')
-rw-r--r-- | drivers/edac/edac_mc_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index 4f4b6137d74e..0cbf670efa23 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c @@ -143,7 +143,7 @@ static const char *edac_caps[] = { * and the per-dimm/per-rank one */ #define DEVICE_ATTR_LEGACY(_name, _mode, _show, _store) \ - struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store) + static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store) struct dev_ch_attribute { struct device_attribute attr; |