Skip to contentSkip to conversation

video: hecubafb: add __devexit_p around reference to hecubafb_remove

PATCH New Axel Lin 1 participant 1 message Feb 13, 2011 Framebuffer layer

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 video: hecubafb: add __devexit_p around reference to hecubafb_remove

hecubafb_remove is marked __devexit,
thus add __devexit_p around reference to hecubafb_remove.

---
 drivers/video/hecubafb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/hecubafb.c +1 -1
index c77bcc6..1b94643 100644
@@ -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",
Signature · 1 line
1.7.1