diff options
Diffstat (limited to 'drivers/video/jz4740_fb.c')
-rw-r--r-- | drivers/video/jz4740_fb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c index 4d25711b9982..d999bb5e0485 100644 --- a/drivers/video/jz4740_fb.c +++ b/drivers/video/jz4740_fb.c | |||
@@ -136,7 +136,7 @@ struct jzfb { | |||
136 | uint32_t pseudo_palette[16]; | 136 | uint32_t pseudo_palette[16]; |
137 | }; | 137 | }; |
138 | 138 | ||
139 | static const struct fb_fix_screeninfo jzfb_fix __devinitconst = { | 139 | static const struct fb_fix_screeninfo jzfb_fix = { |
140 | .id = "JZ4740 FB", | 140 | .id = "JZ4740 FB", |
141 | .type = FB_TYPE_PACKED_PIXELS, | 141 | .type = FB_TYPE_PACKED_PIXELS, |
142 | .visual = FB_VISUAL_TRUECOLOR, | 142 | .visual = FB_VISUAL_TRUECOLOR, |
@@ -619,7 +619,7 @@ static struct fb_ops jzfb_ops = { | |||
619 | .fb_setcolreg = jzfb_setcolreg, | 619 | .fb_setcolreg = jzfb_setcolreg, |
620 | }; | 620 | }; |
621 | 621 | ||
622 | static int __devinit jzfb_probe(struct platform_device *pdev) | 622 | static int jzfb_probe(struct platform_device *pdev) |
623 | { | 623 | { |
624 | int ret; | 624 | int ret; |
625 | struct jzfb *jzfb; | 625 | struct jzfb *jzfb; |
@@ -725,7 +725,7 @@ err_framebuffer_release: | |||
725 | return ret; | 725 | return ret; |
726 | } | 726 | } |
727 | 727 | ||
728 | static int __devexit jzfb_remove(struct platform_device *pdev) | 728 | static int jzfb_remove(struct platform_device *pdev) |
729 | { | 729 | { |
730 | struct jzfb *jzfb = platform_get_drvdata(pdev); | 730 | struct jzfb *jzfb = platform_get_drvdata(pdev); |
731 | 731 | ||
@@ -794,7 +794,7 @@ static const struct dev_pm_ops jzfb_pm_ops = { | |||
794 | 794 | ||
795 | static struct platform_driver jzfb_driver = { | 795 | static struct platform_driver jzfb_driver = { |
796 | .probe = jzfb_probe, | 796 | .probe = jzfb_probe, |
797 | .remove = __devexit_p(jzfb_remove), | 797 | .remove = jzfb_remove, |
798 | .driver = { | 798 | .driver = { |
799 | .name = "jz4740-fb", | 799 | .name = "jz4740-fb", |
800 | .pm = JZFB_PM_OPS, | 800 | .pm = JZFB_PM_OPS, |