aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/hecubafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/hecubafb.c')
-rw-r--r--drivers/video/hecubafb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c
index 614251a9af91..59d23181fdb0 100644
--- a/drivers/video/hecubafb.c
+++ b/drivers/video/hecubafb.c
@@ -47,7 +47,7 @@
47#define DPY_W 600 47#define DPY_W 600
48#define DPY_H 800 48#define DPY_H 800
49 49
50static struct fb_fix_screeninfo hecubafb_fix __devinitdata = { 50static struct fb_fix_screeninfo hecubafb_fix = {
51 .id = "hecubafb", 51 .id = "hecubafb",
52 .type = FB_TYPE_PACKED_PIXELS, 52 .type = FB_TYPE_PACKED_PIXELS,
53 .visual = FB_VISUAL_MONO01, 53 .visual = FB_VISUAL_MONO01,
@@ -58,7 +58,7 @@ static struct fb_fix_screeninfo hecubafb_fix __devinitdata = {
58 .accel = FB_ACCEL_NONE, 58 .accel = FB_ACCEL_NONE,
59}; 59};
60 60
61static struct fb_var_screeninfo hecubafb_var __devinitdata = { 61static struct fb_var_screeninfo hecubafb_var = {
62 .xres = DPY_W, 62 .xres = DPY_W,
63 .yres = DPY_H, 63 .yres = DPY_H,
64 .xres_virtual = DPY_W, 64 .xres_virtual = DPY_W,
@@ -211,7 +211,7 @@ static struct fb_deferred_io hecubafb_defio = {
211 .deferred_io = hecubafb_dpy_deferred_io, 211 .deferred_io = hecubafb_dpy_deferred_io,
212}; 212};
213 213
214static int __devinit hecubafb_probe(struct platform_device *dev) 214static int hecubafb_probe(struct platform_device *dev)
215{ 215{
216 struct fb_info *info; 216 struct fb_info *info;
217 struct hecuba_board *board; 217 struct hecuba_board *board;
@@ -280,7 +280,7 @@ err_videomem_alloc:
280 return retval; 280 return retval;
281} 281}
282 282
283static int __devexit hecubafb_remove(struct platform_device *dev) 283static int hecubafb_remove(struct platform_device *dev)
284{ 284{
285 struct fb_info *info = platform_get_drvdata(dev); 285 struct fb_info *info = platform_get_drvdata(dev);
286 286
@@ -299,7 +299,7 @@ static int __devexit hecubafb_remove(struct platform_device *dev)
299 299
300static struct platform_driver hecubafb_driver = { 300static struct platform_driver hecubafb_driver = {
301 .probe = hecubafb_probe, 301 .probe = hecubafb_probe,
302 .remove = __devexit_p(hecubafb_remove), 302 .remove = hecubafb_remove,
303 .driver = { 303 .driver = {
304 .owner = THIS_MODULE, 304 .owner = THIS_MODULE,
305 .name = "hecubafb", 305 .name = "hecubafb",