aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sunxvr1000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/sunxvr1000.c')
-rw-r--r--drivers/video/sunxvr1000.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/sunxvr1000.c b/drivers/video/sunxvr1000.c
index 729a50722bdf..cc6f48bba36b 100644
--- a/drivers/video/sunxvr1000.c
+++ b/drivers/video/sunxvr1000.c
@@ -25,7 +25,7 @@ struct gfb_info {
25 u32 pseudo_palette[16]; 25 u32 pseudo_palette[16];
26}; 26};
27 27
28static int __devinit gfb_get_props(struct gfb_info *gp) 28static int gfb_get_props(struct gfb_info *gp)
29{ 29{
30 gp->width = of_getintprop_default(gp->of_node, "width", 0); 30 gp->width = of_getintprop_default(gp->of_node, "width", 0);
31 gp->height = of_getintprop_default(gp->of_node, "height", 0); 31 gp->height = of_getintprop_default(gp->of_node, "height", 0);
@@ -66,7 +66,7 @@ static struct fb_ops gfb_ops = {
66 .fb_imageblit = cfb_imageblit, 66 .fb_imageblit = cfb_imageblit,
67}; 67};
68 68
69static int __devinit gfb_set_fbinfo(struct gfb_info *gp) 69static int gfb_set_fbinfo(struct gfb_info *gp)
70{ 70{
71 struct fb_info *info = gp->info; 71 struct fb_info *info = gp->info;
72 struct fb_var_screeninfo *var = &info->var; 72 struct fb_var_screeninfo *var = &info->var;
@@ -111,7 +111,7 @@ static int __devinit gfb_set_fbinfo(struct gfb_info *gp)
111 return 0; 111 return 0;
112} 112}
113 113
114static int __devinit gfb_probe(struct platform_device *op) 114static int gfb_probe(struct platform_device *op)
115{ 115{
116 struct device_node *dp = op->dev.of_node; 116 struct device_node *dp = op->dev.of_node;
117 struct fb_info *info; 117 struct fb_info *info;
@@ -173,7 +173,7 @@ err_out:
173 return err; 173 return err;
174} 174}
175 175
176static int __devexit gfb_remove(struct platform_device *op) 176static int gfb_remove(struct platform_device *op)
177{ 177{
178 struct fb_info *info = dev_get_drvdata(&op->dev); 178 struct fb_info *info = dev_get_drvdata(&op->dev);
179 struct gfb_info *gp = info->par; 179 struct gfb_info *gp = info->par;
@@ -201,7 +201,7 @@ MODULE_DEVICE_TABLE(of, ffb_match);
201 201
202static struct platform_driver gfb_driver = { 202static struct platform_driver gfb_driver = {
203 .probe = gfb_probe, 203 .probe = gfb_probe,
204 .remove = __devexit_p(gfb_remove), 204 .remove = gfb_remove,
205 .driver = { 205 .driver = {
206 .name = "gfb", 206 .name = "gfb",
207 .owner = THIS_MODULE, 207 .owner = THIS_MODULE,