diff options
Diffstat (limited to 'drivers/video/cg14.c')
-rw-r--r-- | drivers/video/cg14.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/cg14.c b/drivers/video/cg14.c index 24249535ac86..e2c85b0db632 100644 --- a/drivers/video/cg14.c +++ b/drivers/video/cg14.c | |||
@@ -463,7 +463,7 @@ static void cg14_unmap_regs(struct platform_device *op, struct fb_info *info, | |||
463 | info->screen_base, info->fix.smem_len); | 463 | info->screen_base, info->fix.smem_len); |
464 | } | 464 | } |
465 | 465 | ||
466 | static int __devinit cg14_probe(struct platform_device *op, const struct of_device_id *match) | 466 | static int __devinit cg14_probe(struct platform_device *op) |
467 | { | 467 | { |
468 | struct device_node *dp = op->dev.of_node; | 468 | struct device_node *dp = op->dev.of_node; |
469 | struct fb_info *info; | 469 | struct fb_info *info; |
@@ -595,7 +595,7 @@ static const struct of_device_id cg14_match[] = { | |||
595 | }; | 595 | }; |
596 | MODULE_DEVICE_TABLE(of, cg14_match); | 596 | MODULE_DEVICE_TABLE(of, cg14_match); |
597 | 597 | ||
598 | static struct of_platform_driver cg14_driver = { | 598 | static struct platform_driver cg14_driver = { |
599 | .driver = { | 599 | .driver = { |
600 | .name = "cg14", | 600 | .name = "cg14", |
601 | .owner = THIS_MODULE, | 601 | .owner = THIS_MODULE, |
@@ -610,12 +610,12 @@ static int __init cg14_init(void) | |||
610 | if (fb_get_options("cg14fb", NULL)) | 610 | if (fb_get_options("cg14fb", NULL)) |
611 | return -ENODEV; | 611 | return -ENODEV; |
612 | 612 | ||
613 | return of_register_platform_driver(&cg14_driver); | 613 | return platform_driver_register(&cg14_driver); |
614 | } | 614 | } |
615 | 615 | ||
616 | static void __exit cg14_exit(void) | 616 | static void __exit cg14_exit(void) |
617 | { | 617 | { |
618 | of_unregister_platform_driver(&cg14_driver); | 618 | platform_driver_unregister(&cg14_driver); |
619 | } | 619 | } |
620 | 620 | ||
621 | module_init(cg14_init); | 621 | module_init(cg14_init); |