|
@@ -2619,7 +2619,7 @@ err0:
|
|
|
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);
|
|
|
|
|
@@ -2636,7 +2636,7 @@ static int __exit omapfb_remove(struct platform_device *pdev)
|
|
|
|
|
|
static struct platform_driver omapfb_driver = {
|
|
|
.probe = omapfb_probe,
|
|
|
- .remove = __exit_p(omapfb_remove),
|
|
|
+ .remove = omapfb_remove,
|
|
|
.driver = {
|
|
|
.name = "omapfb",
|
|
|
.owner = THIS_MODULE,
|