doc_unregister_sysfs is only called by __exit docg3_release

Cc: David Woodhouse <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Fabian Frederick <[email protected]>
---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to