diff options
Diffstat (limited to 'drivers/auxdisplay/cfag12864bfb.c')
-rw-r--r-- | drivers/auxdisplay/cfag12864bfb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/auxdisplay/cfag12864bfb.c b/drivers/auxdisplay/cfag12864bfb.c index 5ad3bad2b0a5..d585735430dd 100644 --- a/drivers/auxdisplay/cfag12864bfb.c +++ b/drivers/auxdisplay/cfag12864bfb.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #define CFAG12864BFB_NAME "cfag12864bfb" | 38 | #define CFAG12864BFB_NAME "cfag12864bfb" |
39 | 39 | ||
40 | static struct fb_fix_screeninfo cfag12864bfb_fix __devinitdata = { | 40 | static struct fb_fix_screeninfo cfag12864bfb_fix = { |
41 | .id = "cfag12864b", | 41 | .id = "cfag12864b", |
42 | .type = FB_TYPE_PACKED_PIXELS, | 42 | .type = FB_TYPE_PACKED_PIXELS, |
43 | .visual = FB_VISUAL_MONO10, | 43 | .visual = FB_VISUAL_MONO10, |
@@ -48,7 +48,7 @@ static struct fb_fix_screeninfo cfag12864bfb_fix __devinitdata = { | |||
48 | .accel = FB_ACCEL_NONE, | 48 | .accel = FB_ACCEL_NONE, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static struct fb_var_screeninfo cfag12864bfb_var __devinitdata = { | 51 | static struct fb_var_screeninfo cfag12864bfb_var = { |
52 | .xres = CFAG12864B_WIDTH, | 52 | .xres = CFAG12864B_WIDTH, |
53 | .yres = CFAG12864B_HEIGHT, | 53 | .yres = CFAG12864B_HEIGHT, |
54 | .xres_virtual = CFAG12864B_WIDTH, | 54 | .xres_virtual = CFAG12864B_WIDTH, |
@@ -80,7 +80,7 @@ static struct fb_ops cfag12864bfb_ops = { | |||
80 | .fb_mmap = cfag12864bfb_mmap, | 80 | .fb_mmap = cfag12864bfb_mmap, |
81 | }; | 81 | }; |
82 | 82 | ||
83 | static int __devinit cfag12864bfb_probe(struct platform_device *device) | 83 | static int cfag12864bfb_probe(struct platform_device *device) |
84 | { | 84 | { |
85 | int ret = -EINVAL; | 85 | int ret = -EINVAL; |
86 | struct fb_info *info = framebuffer_alloc(0, &device->dev); | 86 | struct fb_info *info = framebuffer_alloc(0, &device->dev); |
@@ -114,7 +114,7 @@ none: | |||
114 | return ret; | 114 | return ret; |
115 | } | 115 | } |
116 | 116 | ||
117 | static int __devexit cfag12864bfb_remove(struct platform_device *device) | 117 | static int cfag12864bfb_remove(struct platform_device *device) |
118 | { | 118 | { |
119 | struct fb_info *info = platform_get_drvdata(device); | 119 | struct fb_info *info = platform_get_drvdata(device); |
120 | 120 | ||
@@ -128,7 +128,7 @@ static int __devexit cfag12864bfb_remove(struct platform_device *device) | |||
128 | 128 | ||
129 | static struct platform_driver cfag12864bfb_driver = { | 129 | static struct platform_driver cfag12864bfb_driver = { |
130 | .probe = cfag12864bfb_probe, | 130 | .probe = cfag12864bfb_probe, |
131 | .remove = __devexit_p(cfag12864bfb_remove), | 131 | .remove = cfag12864bfb_remove, |
132 | .driver = { | 132 | .driver = { |
133 | .name = CFAG12864BFB_NAME, | 133 | .name = CFAG12864BFB_NAME, |
134 | }, | 134 | }, |