summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_device.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-11-30 15:07:28 +0100
committerBorislav Petkov <bp@suse.de>2015-12-11 16:56:42 +0100
commite136fa016f2f06ca6e00d4f99894b4424f3f2a5c (patch)
tree1772fb1d3955d9b27d05f92ca9aca6e018bf3b39 /drivers/edac/edac_device.c
parentEDAC: Remove edac_get_sysfs_subsys() error handling (diff)
downloadlinux-e136fa016f2f06ca6e00d4f99894b4424f3f2a5c.tar.xz
linux-e136fa016f2f06ca6e00d4f99894b4424f3f2a5c.zip
EDAC: Make edac_device workqueue setup/teardown functions static
They're not used anywhere else. Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/edac_device.c')
-rw-r--r--drivers/edac/edac_device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c
index 53587377e672..455a64b67521 100644
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -402,8 +402,8 @@ static void edac_device_workq_function(struct work_struct *work_req)
* initialize a workq item for this edac_device instance
* passing in the new delay period in msec
*/
-void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
- unsigned msec)
+static void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
+ unsigned msec)
{
edac_dbg(0, "\n");
@@ -433,7 +433,7 @@ void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev,
* edac_device_workq_teardown
* stop the workq processing on this edac_dev
*/
-void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev)
+static void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev)
{
if (!edac_dev->edac_check)
return;