Browse Source

video: hecubafb: add __devexit_p around reference to hecubafb_remove

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
axel lin 14 years ago
parent
commit
79ac33ec84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/video/hecubafb.c

+ 1 - 1
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",