diff mbox

video: metronomefb: add __devexit_p around reference to metronomefb_remove

Message ID 1297569730.3608.3.camel@phoenix (mailing list archive)
State Accepted
Commit 1e93f390e56d82c4fcf684c86a45e1c593dc4b28
Headers show

Commit Message

axel lin Feb. 13, 2011, 4:02 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/video/metronomefb.c b/drivers/video/metronomefb.c
index 63ed3b7..ed64edf 100644
--- a/drivers/video/metronomefb.c
+++ b/drivers/video/metronomefb.c
@@ -765,7 +765,7 @@  static int __devexit metronomefb_remove(struct platform_device *dev)
 
 static struct platform_driver metronomefb_driver = {
 	.probe	= metronomefb_probe,
-	.remove = metronomefb_remove,
+	.remove = __devexit_p(metronomefb_remove),
 	.driver	= {
 		.owner	= THIS_MODULE,
 		.name	= "metronomefb",