Browse Source

OMAPFB: remove __exit annotation

If we leave __exit annotation, driver can't be unbound
through sysfs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Felipe Balbi 11 years ago
parent
commit
b1836719ca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/video/fbdev/omap2/omapfb/omapfb-main.c

+ 2 - 2
drivers/video/fbdev/omap2/omapfb/omapfb-main.c

@@ -2619,7 +2619,7 @@ err0:
 	return r;
 	return r;
 }
 }
 
 
-static int __exit omapfb_remove(struct platform_device *pdev)
+static int omapfb_remove(struct platform_device *pdev)
 {
 {
 	struct omapfb2_device *fbdev = platform_get_drvdata(pdev);
 	struct omapfb2_device *fbdev = platform_get_drvdata(pdev);
 
 
@@ -2636,7 +2636,7 @@ static int __exit omapfb_remove(struct platform_device *pdev)
 
 
 static struct platform_driver omapfb_driver = {
 static struct platform_driver omapfb_driver = {
 	.probe		= omapfb_probe,
 	.probe		= omapfb_probe,
-	.remove         = __exit_p(omapfb_remove),
+	.remove         = omapfb_remove,
 	.driver         = {
 	.driver         = {
 		.name   = "omapfb",
 		.name   = "omapfb",
 		.owner  = THIS_MODULE,
 		.owner  = THIS_MODULE,