diff mbox

video: hecubafb: add __devexit_p around reference to hecubafb_remove

Message ID 1297602383.2433.1.camel@phoenix (mailing list archive)
State Accepted
Commit 79ac33ec845c1872a23169644c5867528ff05590
Headers show

Commit Message

axel lin Feb. 13, 2011, 1:06 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c
index c77bcc6..1b94643 100644
--- a/drivers/video/hecubafb.c
+++ b/drivers/video/hecubafb.c
@@ -299,7 +299,7 @@  static int __devexit hecubafb_remove(struct platform_device *dev)
 
 static struct platform_driver hecubafb_driver = {
 	.probe	= hecubafb_probe,
-	.remove = hecubafb_remove,
+	.remove = __devexit_p(hecubafb_remove),
 	.driver	= {
 		.owner	= THIS_MODULE,
 		.name	= "hecubafb",