diff options
Diffstat (limited to 'drivers/video/mbx/mbxfb.c')
-rw-r--r-- | drivers/video/mbx/mbxfb.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c index 6563e50413c1..0c1a874ffd2b 100644 --- a/drivers/video/mbx/mbxfb.c +++ b/drivers/video/mbx/mbxfb.c | |||
@@ -79,7 +79,7 @@ struct mbxfb_info { | |||
79 | 79 | ||
80 | }; | 80 | }; |
81 | 81 | ||
82 | static struct fb_var_screeninfo mbxfb_default __devinitdata = { | 82 | static struct fb_var_screeninfo mbxfb_default = { |
83 | .xres = 640, | 83 | .xres = 640, |
84 | .yres = 480, | 84 | .yres = 480, |
85 | .xres_virtual = 640, | 85 | .xres_virtual = 640, |
@@ -102,7 +102,7 @@ static struct fb_var_screeninfo mbxfb_default __devinitdata = { | |||
102 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 102 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | static struct fb_fix_screeninfo mbxfb_fix __devinitdata = { | 105 | static struct fb_fix_screeninfo mbxfb_fix = { |
106 | .id = "MBX", | 106 | .id = "MBX", |
107 | .type = FB_TYPE_PACKED_PIXELS, | 107 | .type = FB_TYPE_PACKED_PIXELS, |
108 | .visual = FB_VISUAL_TRUECOLOR, | 108 | .visual = FB_VISUAL_TRUECOLOR, |
@@ -687,7 +687,7 @@ static struct fb_ops mbxfb_ops = { | |||
687 | Enable external SDRAM controller. Assume that all clocks are active | 687 | Enable external SDRAM controller. Assume that all clocks are active |
688 | by now. | 688 | by now. |
689 | */ | 689 | */ |
690 | static void __devinit setup_memc(struct fb_info *fbi) | 690 | static void setup_memc(struct fb_info *fbi) |
691 | { | 691 | { |
692 | unsigned long tmp; | 692 | unsigned long tmp; |
693 | int i; | 693 | int i; |
@@ -747,7 +747,7 @@ static void enable_clocks(struct fb_info *fbi) | |||
747 | write_reg_dly(0x00000001, PIXCLKDIV); | 747 | write_reg_dly(0x00000001, PIXCLKDIV); |
748 | } | 748 | } |
749 | 749 | ||
750 | static void __devinit setup_graphics(struct fb_info *fbi) | 750 | static void setup_graphics(struct fb_info *fbi) |
751 | { | 751 | { |
752 | unsigned long gsctrl; | 752 | unsigned long gsctrl; |
753 | unsigned long vscadr; | 753 | unsigned long vscadr; |
@@ -781,7 +781,7 @@ static void __devinit setup_graphics(struct fb_info *fbi) | |||
781 | write_reg_dly(vscadr, VSCADR); | 781 | write_reg_dly(vscadr, VSCADR); |
782 | } | 782 | } |
783 | 783 | ||
784 | static void __devinit setup_display(struct fb_info *fbi) | 784 | static void setup_display(struct fb_info *fbi) |
785 | { | 785 | { |
786 | unsigned long dsctrl = 0; | 786 | unsigned long dsctrl = 0; |
787 | 787 | ||
@@ -795,7 +795,7 @@ static void __devinit setup_display(struct fb_info *fbi) | |||
795 | write_reg_dly((readl(DSCTRL) | DSCTRL_SYNCGEN_EN), DSCTRL); | 795 | write_reg_dly((readl(DSCTRL) | DSCTRL_SYNCGEN_EN), DSCTRL); |
796 | } | 796 | } |
797 | 797 | ||
798 | static void __devinit enable_controller(struct fb_info *fbi) | 798 | static void enable_controller(struct fb_info *fbi) |
799 | { | 799 | { |
800 | u32 svctrl, shctrl; | 800 | u32 svctrl, shctrl; |
801 | 801 | ||
@@ -881,7 +881,7 @@ static int mbxfb_resume(struct platform_device *dev) | |||
881 | 881 | ||
882 | #define res_size(_r) (((_r)->end - (_r)->start) + 1) | 882 | #define res_size(_r) (((_r)->end - (_r)->start) + 1) |
883 | 883 | ||
884 | static int __devinit mbxfb_probe(struct platform_device *dev) | 884 | static int mbxfb_probe(struct platform_device *dev) |
885 | { | 885 | { |
886 | int ret; | 886 | int ret; |
887 | struct fb_info *fbi; | 887 | struct fb_info *fbi; |
@@ -1006,7 +1006,7 @@ err1: | |||
1006 | return ret; | 1006 | return ret; |
1007 | } | 1007 | } |
1008 | 1008 | ||
1009 | static int __devexit mbxfb_remove(struct platform_device *dev) | 1009 | static int mbxfb_remove(struct platform_device *dev) |
1010 | { | 1010 | { |
1011 | struct fb_info *fbi = platform_get_drvdata(dev); | 1011 | struct fb_info *fbi = platform_get_drvdata(dev); |
1012 | 1012 | ||
@@ -1038,7 +1038,7 @@ static int __devexit mbxfb_remove(struct platform_device *dev) | |||
1038 | 1038 | ||
1039 | static struct platform_driver mbxfb_driver = { | 1039 | static struct platform_driver mbxfb_driver = { |
1040 | .probe = mbxfb_probe, | 1040 | .probe = mbxfb_probe, |
1041 | .remove = __devexit_p(mbxfb_remove), | 1041 | .remove = mbxfb_remove, |
1042 | .suspend = mbxfb_suspend, | 1042 | .suspend = mbxfb_suspend, |
1043 | .resume = mbxfb_resume, | 1043 | .resume = mbxfb_resume, |
1044 | .driver = { | 1044 | .driver = { |