[PATCH 1/1] drivers/mtd/devices/docg3.c: add __exit to doc_unregister_sysfs
From: Fabian Frederick
Date: Wed Apr 23 2014 - 12:22:16 EST
doc_unregister_sysfs is only called by __exit docg3_release
Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Cc: Brian Norris <computersforpeace@xxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
drivers/mtd/devices/docg3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c
index dd5e101..eec9f39 100644
--- a/drivers/mtd/devices/docg3.c
+++ b/drivers/mtd/devices/docg3.c
@@ -1636,7 +1636,7 @@ static int doc_register_sysfs(struct platform_device *pdev,
return ret;
}
-static void doc_unregister_sysfs(struct platform_device *pdev,
+static void __exit doc_unregister_sysfs(struct platform_device *pdev,
struct docg3_cascade *cascade)
{
struct device *dev = &pdev->dev;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/