diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/vga16fb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/vga16fb.c b/drivers/video/vga16fb.c index 149c47ac7e93..28ccab44a391 100644 --- a/drivers/video/vga16fb.c +++ b/drivers/video/vga16fb.c | |||
@@ -65,7 +65,7 @@ struct vga16fb_par { | |||
65 | 65 | ||
66 | /* --------------------------------------------------------------------- */ | 66 | /* --------------------------------------------------------------------- */ |
67 | 67 | ||
68 | static struct fb_var_screeninfo vga16fb_defined __initdata = { | 68 | static struct fb_var_screeninfo vga16fb_defined __devinitdata = { |
69 | .xres = 640, | 69 | .xres = 640, |
70 | .yres = 480, | 70 | .yres = 480, |
71 | .xres_virtual = 640, | 71 | .xres_virtual = 640, |
@@ -85,7 +85,7 @@ static struct fb_var_screeninfo vga16fb_defined __initdata = { | |||
85 | }; | 85 | }; |
86 | 86 | ||
87 | /* name should not depend on EGA/VGA */ | 87 | /* name should not depend on EGA/VGA */ |
88 | static struct fb_fix_screeninfo vga16fb_fix __initdata = { | 88 | static struct fb_fix_screeninfo vga16fb_fix __devinitdata = { |
89 | .id = "VGA16 VGA", | 89 | .id = "VGA16 VGA", |
90 | .smem_start = VGA_FB_PHYS, | 90 | .smem_start = VGA_FB_PHYS, |
91 | .smem_len = VGA_FB_PHYS_LEN, | 91 | .smem_len = VGA_FB_PHYS_LEN, |
@@ -1287,7 +1287,7 @@ static struct fb_ops vga16fb_ops = { | |||
1287 | }; | 1287 | }; |
1288 | 1288 | ||
1289 | #ifndef MODULE | 1289 | #ifndef MODULE |
1290 | static int vga16fb_setup(char *options) | 1290 | static int __init vga16fb_setup(char *options) |
1291 | { | 1291 | { |
1292 | char *this_opt; | 1292 | char *this_opt; |
1293 | 1293 | ||
@@ -1393,7 +1393,7 @@ static int __devinit vga16fb_probe(struct platform_device *dev) | |||
1393 | return ret; | 1393 | return ret; |
1394 | } | 1394 | } |
1395 | 1395 | ||
1396 | static int vga16fb_remove(struct platform_device *dev) | 1396 | static int __devexit vga16fb_remove(struct platform_device *dev) |
1397 | { | 1397 | { |
1398 | struct fb_info *info = platform_get_drvdata(dev); | 1398 | struct fb_info *info = platform_get_drvdata(dev); |
1399 | 1399 | ||
@@ -1405,7 +1405,7 @@ static int vga16fb_remove(struct platform_device *dev) | |||
1405 | 1405 | ||
1406 | static struct platform_driver vga16fb_driver = { | 1406 | static struct platform_driver vga16fb_driver = { |
1407 | .probe = vga16fb_probe, | 1407 | .probe = vga16fb_probe, |
1408 | .remove = vga16fb_remove, | 1408 | .remove = __devexit_p(vga16fb_remove), |
1409 | .driver = { | 1409 | .driver = { |
1410 | .name = "vga16fb", | 1410 | .name = "vga16fb", |
1411 | }, | 1411 | }, |