diff options
-rw-r--r-- | drivers/video/hgafb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/hgafb.c b/drivers/video/hgafb.c index 8bbf251f83d9..af8f0f2cc782 100644 --- a/drivers/video/hgafb.c +++ b/drivers/video/hgafb.c | |||
@@ -106,7 +106,7 @@ static DEFINE_SPINLOCK(hga_reg_lock); | |||
106 | 106 | ||
107 | /* Framebuffer driver structures */ | 107 | /* Framebuffer driver structures */ |
108 | 108 | ||
109 | static struct fb_var_screeninfo __initdata hga_default_var = { | 109 | static struct fb_var_screeninfo hga_default_var __devinitdata = { |
110 | .xres = 720, | 110 | .xres = 720, |
111 | .yres = 348, | 111 | .yres = 348, |
112 | .xres_virtual = 720, | 112 | .xres_virtual = 720, |
@@ -120,7 +120,7 @@ static struct fb_var_screeninfo __initdata hga_default_var = { | |||
120 | .width = -1, | 120 | .width = -1, |
121 | }; | 121 | }; |
122 | 122 | ||
123 | static struct fb_fix_screeninfo __initdata hga_fix = { | 123 | static struct fb_fix_screeninfo hga_fix __devinitdata = { |
124 | .id = "HGA", | 124 | .id = "HGA", |
125 | .type = FB_TYPE_PACKED_PIXELS, /* (not sure) */ | 125 | .type = FB_TYPE_PACKED_PIXELS, /* (not sure) */ |
126 | .visual = FB_VISUAL_MONO10, | 126 | .visual = FB_VISUAL_MONO10, |
@@ -276,7 +276,7 @@ static void hga_blank(int blank_mode) | |||
276 | spin_unlock_irqrestore(&hga_reg_lock, flags); | 276 | spin_unlock_irqrestore(&hga_reg_lock, flags); |
277 | } | 277 | } |
278 | 278 | ||
279 | static int __init hga_card_detect(void) | 279 | static int __devinit hga_card_detect(void) |
280 | { | 280 | { |
281 | int count = 0; | 281 | int count = 0; |
282 | void __iomem *p, *q; | 282 | void __iomem *p, *q; |
@@ -596,7 +596,7 @@ static int __devinit hgafb_probe(struct platform_device *pdev) | |||
596 | return 0; | 596 | return 0; |
597 | } | 597 | } |
598 | 598 | ||
599 | static int hgafb_remove(struct platform_device *pdev) | 599 | static int __devexit hgafb_remove(struct platform_device *pdev) |
600 | { | 600 | { |
601 | struct fb_info *info = platform_get_drvdata(pdev); | 601 | struct fb_info *info = platform_get_drvdata(pdev); |
602 | 602 | ||
@@ -621,7 +621,7 @@ static int hgafb_remove(struct platform_device *pdev) | |||
621 | 621 | ||
622 | static struct platform_driver hgafb_driver = { | 622 | static struct platform_driver hgafb_driver = { |
623 | .probe = hgafb_probe, | 623 | .probe = hgafb_probe, |
624 | .remove = hgafb_remove, | 624 | .remove = __devexit_p(hgafb_remove), |
625 | .driver = { | 625 | .driver = { |
626 | .name = "hgafb", | 626 | .name = "hgafb", |
627 | }, | 627 | }, |