diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-06-16 12:08:13 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-06-16 12:08:13 -0400 |
commit | f1bbbb6912662b9f6070c5bfc4ca9eb1f06a9d5b (patch) | |
tree | c2c130a74be25b0b2dff992e1a195e2728bdaadd /drivers/video/sgivwfb.c | |
parent | fd0961ff67727482bb20ca7e8ea97b83e9de2ddb (diff) | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) |
Merge branch 'master' into for-next
Diffstat (limited to 'drivers/video/sgivwfb.c')
-rw-r--r-- | drivers/video/sgivwfb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/sgivwfb.c b/drivers/video/sgivwfb.c index 7a3a5e28eca..53455f29551 100644 --- a/drivers/video/sgivwfb.c +++ b/drivers/video/sgivwfb.c | |||
@@ -47,7 +47,7 @@ static int ywrap = 0; | |||
47 | 47 | ||
48 | static int flatpanel_id = -1; | 48 | static int flatpanel_id = -1; |
49 | 49 | ||
50 | static struct fb_fix_screeninfo sgivwfb_fix __initdata = { | 50 | static struct fb_fix_screeninfo sgivwfb_fix __devinitdata = { |
51 | .id = "SGI Vis WS FB", | 51 | .id = "SGI Vis WS FB", |
52 | .type = FB_TYPE_PACKED_PIXELS, | 52 | .type = FB_TYPE_PACKED_PIXELS, |
53 | .visual = FB_VISUAL_PSEUDOCOLOR, | 53 | .visual = FB_VISUAL_PSEUDOCOLOR, |
@@ -57,7 +57,7 @@ static struct fb_fix_screeninfo sgivwfb_fix __initdata = { | |||
57 | .line_length = 640, | 57 | .line_length = 640, |
58 | }; | 58 | }; |
59 | 59 | ||
60 | static struct fb_var_screeninfo sgivwfb_var __initdata = { | 60 | static struct fb_var_screeninfo sgivwfb_var __devinitdata = { |
61 | /* 640x480, 8 bpp */ | 61 | /* 640x480, 8 bpp */ |
62 | .xres = 640, | 62 | .xres = 640, |
63 | .yres = 480, | 63 | .yres = 480, |
@@ -79,7 +79,7 @@ static struct fb_var_screeninfo sgivwfb_var __initdata = { | |||
79 | .vmode = FB_VMODE_NONINTERLACED | 79 | .vmode = FB_VMODE_NONINTERLACED |
80 | }; | 80 | }; |
81 | 81 | ||
82 | static struct fb_var_screeninfo sgivwfb_var1600sw __initdata = { | 82 | static struct fb_var_screeninfo sgivwfb_var1600sw __devinitdata = { |
83 | /* 1600x1024, 8 bpp */ | 83 | /* 1600x1024, 8 bpp */ |
84 | .xres = 1600, | 84 | .xres = 1600, |
85 | .yres = 1024, | 85 | .yres = 1024, |
@@ -825,7 +825,7 @@ fail_ioremap_regs: | |||
825 | return -ENXIO; | 825 | return -ENXIO; |
826 | } | 826 | } |
827 | 827 | ||
828 | static int sgivwfb_remove(struct platform_device *dev) | 828 | static int __devexit sgivwfb_remove(struct platform_device *dev) |
829 | { | 829 | { |
830 | struct fb_info *info = platform_get_drvdata(dev); | 830 | struct fb_info *info = platform_get_drvdata(dev); |
831 | 831 | ||
@@ -845,7 +845,7 @@ static int sgivwfb_remove(struct platform_device *dev) | |||
845 | 845 | ||
846 | static struct platform_driver sgivwfb_driver = { | 846 | static struct platform_driver sgivwfb_driver = { |
847 | .probe = sgivwfb_probe, | 847 | .probe = sgivwfb_probe, |
848 | .remove = sgivwfb_remove, | 848 | .remove = __devexit_p(sgivwfb_remove), |
849 | .driver = { | 849 | .driver = { |
850 | .name = "sgivwfb", | 850 | .name = "sgivwfb", |
851 | }, | 851 | }, |