diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-03-06 05:56:33 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-03-06 05:56:33 +0100 |
commit | 0f8afa7ca9117276e9519239ed0553be2f04d269 (patch) | |
tree | 9e958fd6806f4035bd188159fecc5b2af418d16d /drivers/video/hitfb.c | |
parent | sh: hp6xx: Fix up hp6xx_apm build failure. (diff) | |
download | linux-0f8afa7ca9117276e9519239ed0553be2f04d269.tar.xz linux-0f8afa7ca9117276e9519239ed0553be2f04d269.zip |
fb: hitfb: Balance probe/remove section annotations.
hitfb presently has probe using __init whilst remove uses __devexit.
As this device can't possibly be hotplugged, switch to __exit and
__exit_p() instead.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/hitfb.c')
-rw-r--r-- | drivers/video/hitfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/hitfb.c b/drivers/video/hitfb.c index 756c0ce85911..392a8be6aa76 100644 --- a/drivers/video/hitfb.c +++ b/drivers/video/hitfb.c @@ -403,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); } @@ -439,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, |