aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fsl-diu-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fsl-diu-fb.c')
-rw-r--r--drivers/video/fsl-diu-fb.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c
index 8bbbf08fa3ce..9048f87fa8c1 100644
--- a/drivers/video/fsl-diu-fb.c
+++ b/drivers/video/fsl-diu-fb.c
@@ -1487,8 +1487,7 @@ static ssize_t show_monitor(struct device *device,
1487 return diu_ops.show_monitor_port(machine_data->monitor_port, buf); 1487 return diu_ops.show_monitor_port(machine_data->monitor_port, buf);
1488} 1488}
1489 1489
1490static int __devinit fsl_diu_probe(struct platform_device *ofdev, 1490static int __devinit fsl_diu_probe(struct platform_device *ofdev)
1491 const struct of_device_id *match)
1492{ 1491{
1493 struct device_node *np = ofdev->dev.of_node; 1492 struct device_node *np = ofdev->dev.of_node;
1494 struct mfb_info *mfbi; 1493 struct mfb_info *mfbi;
@@ -1735,7 +1734,7 @@ static struct of_device_id fsl_diu_match[] = {
1735}; 1734};
1736MODULE_DEVICE_TABLE(of, fsl_diu_match); 1735MODULE_DEVICE_TABLE(of, fsl_diu_match);
1737 1736
1738static struct of_platform_driver fsl_diu_driver = { 1737static struct platform_driver fsl_diu_driver = {
1739 .driver = { 1738 .driver = {
1740 .name = "fsl_diu", 1739 .name = "fsl_diu",
1741 .owner = THIS_MODULE, 1740 .owner = THIS_MODULE,
@@ -1797,7 +1796,7 @@ static int __init fsl_diu_init(void)
1797 if (!coherence_data) 1796 if (!coherence_data)
1798 return -ENOMEM; 1797 return -ENOMEM;
1799#endif 1798#endif
1800 ret = of_register_platform_driver(&fsl_diu_driver); 1799 ret = platform_driver_register(&fsl_diu_driver);
1801 if (ret) { 1800 if (ret) {
1802 printk(KERN_ERR 1801 printk(KERN_ERR
1803 "fsl-diu: failed to register platform driver\n"); 1802 "fsl-diu: failed to register platform driver\n");
@@ -1811,7 +1810,7 @@ static int __init fsl_diu_init(void)
1811 1810
1812static void __exit fsl_diu_exit(void) 1811static void __exit fsl_diu_exit(void)
1813{ 1812{
1814 of_unregister_platform_driver(&fsl_diu_driver); 1813 platform_driver_unregister(&fsl_diu_driver);
1815#if defined(CONFIG_NOT_COHERENT_CACHE) 1814#if defined(CONFIG_NOT_COHERENT_CACHE)
1816 vfree(coherence_data); 1815 vfree(coherence_data);
1817#endif 1816#endif