X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Fhitfb.c;h=392a8be6aa76b873cd87b6d3f72ae2f3aef3b4ce;hb=b6c63937001889af6fe431aaba97e59d04e028e7;hp=3dc49424dc75b43e6cc5d2860c5c258011d3162a;hpb=1b7f6a626f0ff511c3840678466cbfe1d62c0b29;p=linux-2.6 diff --git a/drivers/video/hitfb.c b/drivers/video/hitfb.c index 3dc49424dc..392a8be6aa 100644 --- a/drivers/video/hitfb.c +++ b/drivers/video/hitfb.c @@ -13,7 +13,6 @@ #include #include -#include #include #include #include @@ -404,7 +403,7 @@ static int __init hitfb_probe(struct platform_device *dev) return 0; } -static int __devexit hitfb_remove(struct platform_device *dev) +static int __exit hitfb_remove(struct platform_device *dev) { return unregister_framebuffer(&fb_info); } @@ -440,7 +439,7 @@ static int hitfb_resume(struct platform_device *dev) static struct platform_driver hitfb_driver = { .probe = hitfb_probe, - .remove = __devexit_p(hitfb_remove), + .remove = __exit_p(hitfb_remove), #ifdef CONFIG_PM .suspend = hitfb_suspend, .resume = hitfb_resume,