]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
video: hecubafb: add __devexit_p around reference to hecubafb_remove
authoraxel lin <axel.lin@gmail.com>
Sun, 13 Feb 2011 13:06:23 +0000 (13:06 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:34:28 +0000 (16:34 +0900)
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>
drivers/video/hecubafb.c

index c77bcc6ab463c2ce1cfd17abdb813d490c4376bd..1b94643ecbcfff4dd63eca7b52953ba2f702f21e 100644 (file)
@@ -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",