diff options
Diffstat (limited to 'drivers/video/broadsheetfb.c')
-rw-r--r-- | drivers/video/broadsheetfb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/video/broadsheetfb.c b/drivers/video/broadsheetfb.c index c95b417d0d41..b09701c79432 100644 --- a/drivers/video/broadsheetfb.c +++ b/drivers/video/broadsheetfb.c | |||
@@ -91,7 +91,7 @@ static struct panel_info panel_table[] = { | |||
91 | #define DPY_W 800 | 91 | #define DPY_W 800 |
92 | #define DPY_H 600 | 92 | #define DPY_H 600 |
93 | 93 | ||
94 | static struct fb_fix_screeninfo broadsheetfb_fix __devinitdata = { | 94 | static struct fb_fix_screeninfo broadsheetfb_fix = { |
95 | .id = "broadsheetfb", | 95 | .id = "broadsheetfb", |
96 | .type = FB_TYPE_PACKED_PIXELS, | 96 | .type = FB_TYPE_PACKED_PIXELS, |
97 | .visual = FB_VISUAL_STATIC_PSEUDOCOLOR, | 97 | .visual = FB_VISUAL_STATIC_PSEUDOCOLOR, |
@@ -102,7 +102,7 @@ static struct fb_fix_screeninfo broadsheetfb_fix __devinitdata = { | |||
102 | .accel = FB_ACCEL_NONE, | 102 | .accel = FB_ACCEL_NONE, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | static struct fb_var_screeninfo broadsheetfb_var __devinitdata = { | 105 | static struct fb_var_screeninfo broadsheetfb_var = { |
106 | .xres = DPY_W, | 106 | .xres = DPY_W, |
107 | .yres = DPY_H, | 107 | .yres = DPY_H, |
108 | .xres_virtual = DPY_W, | 108 | .xres_virtual = DPY_W, |
@@ -774,7 +774,7 @@ static DEVICE_ATTR(loadstore_waveform, S_IWUSR, NULL, | |||
774 | broadsheet_loadstore_waveform); | 774 | broadsheet_loadstore_waveform); |
775 | 775 | ||
776 | /* upper level functions that manipulate the display and other stuff */ | 776 | /* upper level functions that manipulate the display and other stuff */ |
777 | static void __devinit broadsheet_init_display(struct broadsheetfb_par *par) | 777 | static void broadsheet_init_display(struct broadsheetfb_par *par) |
778 | { | 778 | { |
779 | u16 args[5]; | 779 | u16 args[5]; |
780 | int xres = par->info->var.xres; | 780 | int xres = par->info->var.xres; |
@@ -834,7 +834,7 @@ static void __devinit broadsheet_init_display(struct broadsheetfb_par *par) | |||
834 | par->board->wait_for_rdy(par); | 834 | par->board->wait_for_rdy(par); |
835 | } | 835 | } |
836 | 836 | ||
837 | static void __devinit broadsheet_identify(struct broadsheetfb_par *par) | 837 | static void broadsheet_identify(struct broadsheetfb_par *par) |
838 | { | 838 | { |
839 | u16 rev, prc; | 839 | u16 rev, prc; |
840 | struct device *dev = par->info->device; | 840 | struct device *dev = par->info->device; |
@@ -849,7 +849,7 @@ static void __devinit broadsheet_identify(struct broadsheetfb_par *par) | |||
849 | dev_warn(dev, "Unrecognized Broadsheet Revision\n"); | 849 | dev_warn(dev, "Unrecognized Broadsheet Revision\n"); |
850 | } | 850 | } |
851 | 851 | ||
852 | static void __devinit broadsheet_init(struct broadsheetfb_par *par) | 852 | static void broadsheet_init(struct broadsheetfb_par *par) |
853 | { | 853 | { |
854 | broadsheet_send_command(par, BS_CMD_INIT_SYS_RUN); | 854 | broadsheet_send_command(par, BS_CMD_INIT_SYS_RUN); |
855 | /* the controller needs a second */ | 855 | /* the controller needs a second */ |
@@ -1058,7 +1058,7 @@ static struct fb_deferred_io broadsheetfb_defio = { | |||
1058 | .deferred_io = broadsheetfb_dpy_deferred_io, | 1058 | .deferred_io = broadsheetfb_dpy_deferred_io, |
1059 | }; | 1059 | }; |
1060 | 1060 | ||
1061 | static int __devinit broadsheetfb_probe(struct platform_device *dev) | 1061 | static int broadsheetfb_probe(struct platform_device *dev) |
1062 | { | 1062 | { |
1063 | struct fb_info *info; | 1063 | struct fb_info *info; |
1064 | struct broadsheet_board *board; | 1064 | struct broadsheet_board *board; |
@@ -1190,7 +1190,7 @@ err: | |||
1190 | 1190 | ||
1191 | } | 1191 | } |
1192 | 1192 | ||
1193 | static int __devexit broadsheetfb_remove(struct platform_device *dev) | 1193 | static int broadsheetfb_remove(struct platform_device *dev) |
1194 | { | 1194 | { |
1195 | struct fb_info *info = platform_get_drvdata(dev); | 1195 | struct fb_info *info = platform_get_drvdata(dev); |
1196 | 1196 | ||
@@ -1211,7 +1211,7 @@ static int __devexit broadsheetfb_remove(struct platform_device *dev) | |||
1211 | 1211 | ||
1212 | static struct platform_driver broadsheetfb_driver = { | 1212 | static struct platform_driver broadsheetfb_driver = { |
1213 | .probe = broadsheetfb_probe, | 1213 | .probe = broadsheetfb_probe, |
1214 | .remove = __devexit_p(broadsheetfb_remove), | 1214 | .remove = broadsheetfb_remove, |
1215 | .driver = { | 1215 | .driver = { |
1216 | .owner = THIS_MODULE, | 1216 | .owner = THIS_MODULE, |
1217 | .name = "broadsheetfb", | 1217 | .name = "broadsheetfb", |