aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/acornfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/acornfb.c')
-rw-r--r--drivers/video/acornfb.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/video/acornfb.c b/drivers/video/acornfb.c
index b303f1715065..6488a7351a60 100644
--- a/drivers/video/acornfb.c
+++ b/drivers/video/acornfb.c
@@ -66,7 +66,7 @@
66 * have. Allow 1% either way on the nominal for TVs. 66 * have. Allow 1% either way on the nominal for TVs.
67 */ 67 */
68#define NR_MONTYPES 6 68#define NR_MONTYPES 6
69static struct fb_monspecs monspecs[NR_MONTYPES] __devinitdata = { 69static struct fb_monspecs monspecs[NR_MONTYPES] = {
70 { /* TV */ 70 { /* TV */
71 .hfmin = 15469, 71 .hfmin = 15469,
72 .hfmax = 15781, 72 .hfmax = 15781,
@@ -874,7 +874,7 @@ static struct fb_ops acornfb_ops = {
874/* 874/*
875 * Everything after here is initialisation!!! 875 * Everything after here is initialisation!!!
876 */ 876 */
877static struct fb_videomode modedb[] __devinitdata = { 877static struct fb_videomode modedb[] = {
878 { /* 320x256 @ 50Hz */ 878 { /* 320x256 @ 50Hz */
879 NULL, 50, 320, 256, 125000, 92, 62, 35, 19, 38, 2, 879 NULL, 50, 320, 256, 125000, 92, 62, 35, 19, 38, 2,
880 FB_SYNC_COMP_HIGH_ACT, 880 FB_SYNC_COMP_HIGH_ACT,
@@ -926,7 +926,7 @@ static struct fb_videomode modedb[] __devinitdata = {
926 } 926 }
927}; 927};
928 928
929static struct fb_videomode acornfb_default_mode __devinitdata = { 929static struct fb_videomode acornfb_default_mode = {
930 .name = NULL, 930 .name = NULL,
931 .refresh = 60, 931 .refresh = 60,
932 .xres = 640, 932 .xres = 640,
@@ -942,7 +942,7 @@ static struct fb_videomode acornfb_default_mode __devinitdata = {
942 .vmode = FB_VMODE_NONINTERLACED 942 .vmode = FB_VMODE_NONINTERLACED
943}; 943};
944 944
945static void __devinit acornfb_init_fbinfo(void) 945static void acornfb_init_fbinfo(void)
946{ 946{
947 static int first = 1; 947 static int first = 1;
948 948
@@ -1018,7 +1018,7 @@ static void __devinit acornfb_init_fbinfo(void)
1018 * size can optionally be followed by 'M' or 'K' for 1018 * size can optionally be followed by 'M' or 'K' for
1019 * MB or KB respectively. 1019 * MB or KB respectively.
1020 */ 1020 */
1021static void __devinit acornfb_parse_mon(char *opt) 1021static void acornfb_parse_mon(char *opt)
1022{ 1022{
1023 char *p = opt; 1023 char *p = opt;
1024 1024
@@ -1065,7 +1065,7 @@ bad:
1065 current_par.montype = -1; 1065 current_par.montype = -1;
1066} 1066}
1067 1067
1068static void __devinit acornfb_parse_montype(char *opt) 1068static void acornfb_parse_montype(char *opt)
1069{ 1069{
1070 current_par.montype = -2; 1070 current_par.montype = -2;
1071 1071
@@ -1106,7 +1106,7 @@ static void __devinit acornfb_parse_montype(char *opt)
1106 } 1106 }
1107} 1107}
1108 1108
1109static void __devinit acornfb_parse_dram(char *opt) 1109static void acornfb_parse_dram(char *opt)
1110{ 1110{
1111 unsigned int size; 1111 unsigned int size;
1112 1112
@@ -1131,14 +1131,14 @@ static void __devinit acornfb_parse_dram(char *opt)
1131static struct options { 1131static struct options {
1132 char *name; 1132 char *name;
1133 void (*parse)(char *opt); 1133 void (*parse)(char *opt);
1134} opt_table[] __devinitdata = { 1134} opt_table[] = {
1135 { "mon", acornfb_parse_mon }, 1135 { "mon", acornfb_parse_mon },
1136 { "montype", acornfb_parse_montype }, 1136 { "montype", acornfb_parse_montype },
1137 { "dram", acornfb_parse_dram }, 1137 { "dram", acornfb_parse_dram },
1138 { NULL, NULL } 1138 { NULL, NULL }
1139}; 1139};
1140 1140
1141static int __devinit acornfb_setup(char *options) 1141static int acornfb_setup(char *options)
1142{ 1142{
1143 struct options *optp; 1143 struct options *optp;
1144 char *opt; 1144 char *opt;
@@ -1175,7 +1175,7 @@ static int __devinit acornfb_setup(char *options)
1175 * Detect type of monitor connected 1175 * Detect type of monitor connected
1176 * For now, we just assume SVGA 1176 * For now, we just assume SVGA
1177 */ 1177 */
1178static int __devinit acornfb_detect_monitortype(void) 1178static int acornfb_detect_monitortype(void)
1179{ 1179{
1180 return 4; 1180 return 4;
1181} 1181}
@@ -1216,7 +1216,7 @@ free_unused_pages(unsigned int virtual_start, unsigned int virtual_end)
1216 printk("acornfb: freed %dK memory\n", mb_freed); 1216 printk("acornfb: freed %dK memory\n", mb_freed);
1217} 1217}
1218 1218
1219static int __devinit acornfb_probe(struct platform_device *dev) 1219static int acornfb_probe(struct platform_device *dev)
1220{ 1220{
1221 unsigned long size; 1221 unsigned long size;
1222 u_int h_sync, v_sync; 1222 u_int h_sync, v_sync;