Skip to content

Commit

Permalink
ARM: 6616/1: Fix ep93xx-fb init/exit annotations
Browse files Browse the repository at this point in the history
Fix section mismatch errors in the ep93xx-fb driver resulting from
incorrect init/exit annotations.

Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Tested-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ryan Mallon authored and Russell King committed Jan 11, 2011
1 parent 6426d2c commit c0fdcfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/video/ep93xx-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ static void ep93xxfb_dealloc_videomem(struct fb_info *info)
info->screen_base, info->fix.smem_start);
}

static int __init ep93xxfb_probe(struct platform_device *pdev)
static int __devinit ep93xxfb_probe(struct platform_device *pdev)
{
struct ep93xxfb_mach_info *mach_info = pdev->dev.platform_data;
struct fb_info *info;
Expand Down Expand Up @@ -598,7 +598,7 @@ static int __init ep93xxfb_probe(struct platform_device *pdev)
return err;
}

static int ep93xxfb_remove(struct platform_device *pdev)
static int __devexit ep93xxfb_remove(struct platform_device *pdev)
{
struct fb_info *info = platform_get_drvdata(pdev);
struct ep93xx_fbi *fbi = info->par;
Expand All @@ -622,7 +622,7 @@ static int ep93xxfb_remove(struct platform_device *pdev)

static struct platform_driver ep93xxfb_driver = {
.probe = ep93xxfb_probe,
.remove = ep93xxfb_remove,
.remove = __devexit_p(ep93xxfb_remove),
.driver = {
.name = "ep93xx-fb",
.owner = THIS_MODULE,
Expand Down

0 comments on commit c0fdcfa

Please sign in to comment.