diff options
Diffstat (limited to 'drivers/video/arcfb.c')
| -rw-r--r-- | drivers/video/arcfb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/arcfb.c b/drivers/video/arcfb.c index 4659d5da6ff8..e43401afdd03 100644 --- a/drivers/video/arcfb.c +++ b/drivers/video/arcfb.c | |||
| @@ -79,7 +79,7 @@ struct arcfb_par { | |||
| 79 | spinlock_t lock; | 79 | spinlock_t lock; |
| 80 | }; | 80 | }; |
| 81 | 81 | ||
| 82 | static struct fb_fix_screeninfo arcfb_fix __devinitdata = { | 82 | static struct fb_fix_screeninfo arcfb_fix = { |
| 83 | .id = "arcfb", | 83 | .id = "arcfb", |
| 84 | .type = FB_TYPE_PACKED_PIXELS, | 84 | .type = FB_TYPE_PACKED_PIXELS, |
| 85 | .visual = FB_VISUAL_MONO01, | 85 | .visual = FB_VISUAL_MONO01, |
| @@ -89,7 +89,7 @@ static struct fb_fix_screeninfo arcfb_fix __devinitdata = { | |||
| 89 | .accel = FB_ACCEL_NONE, | 89 | .accel = FB_ACCEL_NONE, |
| 90 | }; | 90 | }; |
| 91 | 91 | ||
| 92 | static struct fb_var_screeninfo arcfb_var __devinitdata = { | 92 | static struct fb_var_screeninfo arcfb_var = { |
| 93 | .xres = 128, | 93 | .xres = 128, |
| 94 | .yres = 64, | 94 | .yres = 64, |
| 95 | .xres_virtual = 128, | 95 | .xres_virtual = 128, |
| @@ -502,7 +502,7 @@ static struct fb_ops arcfb_ops = { | |||
| 502 | .fb_ioctl = arcfb_ioctl, | 502 | .fb_ioctl = arcfb_ioctl, |
| 503 | }; | 503 | }; |
| 504 | 504 | ||
| 505 | static int __devinit arcfb_probe(struct platform_device *dev) | 505 | static int arcfb_probe(struct platform_device *dev) |
| 506 | { | 506 | { |
| 507 | struct fb_info *info; | 507 | struct fb_info *info; |
| 508 | int retval = -ENOMEM; | 508 | int retval = -ENOMEM; |
| @@ -587,7 +587,7 @@ err: | |||
| 587 | return retval; | 587 | return retval; |
| 588 | } | 588 | } |
| 589 | 589 | ||
| 590 | static int __devexit arcfb_remove(struct platform_device *dev) | 590 | static int arcfb_remove(struct platform_device *dev) |
| 591 | { | 591 | { |
| 592 | struct fb_info *info = platform_get_drvdata(dev); | 592 | struct fb_info *info = platform_get_drvdata(dev); |
| 593 | 593 | ||
| @@ -601,7 +601,7 @@ static int __devexit arcfb_remove(struct platform_device *dev) | |||
| 601 | 601 | ||
| 602 | static struct platform_driver arcfb_driver = { | 602 | static struct platform_driver arcfb_driver = { |
| 603 | .probe = arcfb_probe, | 603 | .probe = arcfb_probe, |
| 604 | .remove = __devexit_p(arcfb_remove), | 604 | .remove = arcfb_remove, |
| 605 | .driver = { | 605 | .driver = { |
| 606 | .name = "arcfb", | 606 | .name = "arcfb", |
| 607 | }, | 607 | }, |
