diff options
Diffstat (limited to 'drivers/video/sunxvr500.c')
-rw-r--r-- | drivers/video/sunxvr500.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/sunxvr500.c b/drivers/video/sunxvr500.c index 6c71b1b44477..387350d004df 100644 --- a/drivers/video/sunxvr500.c +++ b/drivers/video/sunxvr500.c | |||
@@ -51,7 +51,7 @@ struct e3d_info { | |||
51 | u32 pseudo_palette[16]; | 51 | u32 pseudo_palette[16]; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | static int __devinit e3d_get_props(struct e3d_info *ep) | 54 | static int e3d_get_props(struct e3d_info *ep) |
55 | { | 55 | { |
56 | ep->width = of_getintprop_default(ep->of_node, "width", 0); | 56 | ep->width = of_getintprop_default(ep->of_node, "width", 0); |
57 | ep->height = of_getintprop_default(ep->of_node, "height", 0); | 57 | ep->height = of_getintprop_default(ep->of_node, "height", 0); |
@@ -193,7 +193,7 @@ static struct fb_ops e3d_ops = { | |||
193 | .fb_imageblit = e3d_imageblit, | 193 | .fb_imageblit = e3d_imageblit, |
194 | }; | 194 | }; |
195 | 195 | ||
196 | static int __devinit e3d_set_fbinfo(struct e3d_info *ep) | 196 | static int e3d_set_fbinfo(struct e3d_info *ep) |
197 | { | 197 | { |
198 | struct fb_info *info = ep->info; | 198 | struct fb_info *info = ep->info; |
199 | struct fb_var_screeninfo *var = &info->var; | 199 | struct fb_var_screeninfo *var = &info->var; |
@@ -238,8 +238,8 @@ static int __devinit e3d_set_fbinfo(struct e3d_info *ep) | |||
238 | return 0; | 238 | return 0; |
239 | } | 239 | } |
240 | 240 | ||
241 | static int __devinit e3d_pci_register(struct pci_dev *pdev, | 241 | static int e3d_pci_register(struct pci_dev *pdev, |
242 | const struct pci_device_id *ent) | 242 | const struct pci_device_id *ent) |
243 | { | 243 | { |
244 | struct device_node *of_node; | 244 | struct device_node *of_node; |
245 | const char *device_type; | 245 | const char *device_type; |
@@ -392,7 +392,7 @@ err_out: | |||
392 | return err; | 392 | return err; |
393 | } | 393 | } |
394 | 394 | ||
395 | static void __devexit e3d_pci_unregister(struct pci_dev *pdev) | 395 | static void e3d_pci_unregister(struct pci_dev *pdev) |
396 | { | 396 | { |
397 | struct fb_info *info = pci_get_drvdata(pdev); | 397 | struct fb_info *info = pci_get_drvdata(pdev); |
398 | struct e3d_info *ep = info->par; | 398 | struct e3d_info *ep = info->par; |
@@ -437,7 +437,7 @@ static struct pci_driver e3d_driver = { | |||
437 | .name = "e3d", | 437 | .name = "e3d", |
438 | .id_table = e3d_pci_table, | 438 | .id_table = e3d_pci_table, |
439 | .probe = e3d_pci_register, | 439 | .probe = e3d_pci_register, |
440 | .remove = __devexit_p(e3d_pci_unregister), | 440 | .remove = e3d_pci_unregister, |
441 | }; | 441 | }; |
442 | 442 | ||
443 | static int __init e3d_init(void) | 443 | static int __init e3d_init(void) |