aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/msm/mddi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/msm/mddi.c')
-rw-r--r--drivers/video/msm/mddi.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c
index 35ac9e8bee63..e0f8011a3c4b 100644
--- a/drivers/video/msm/mddi.c
+++ b/drivers/video/msm/mddi.c
@@ -417,7 +417,7 @@ static void mddi_resume(struct msm_mddi_client_data *cdata)
417 mddi_set_auto_hibernate(&mddi->client_data, 1); 417 mddi_set_auto_hibernate(&mddi->client_data, 1);
418} 418}
419 419
420static int __devinit mddi_get_client_caps(struct mddi_info *mddi) 420static int mddi_get_client_caps(struct mddi_info *mddi)
421{ 421{
422 int i, j; 422 int i, j;
423 423
@@ -619,9 +619,8 @@ uint32_t mddi_remote_read(struct msm_mddi_client_data *cdata, uint32_t reg)
619 619
620static struct mddi_info mddi_info[2]; 620static struct mddi_info mddi_info[2];
621 621
622static int __devinit mddi_clk_setup(struct platform_device *pdev, 622static int mddi_clk_setup(struct platform_device *pdev, struct mddi_info *mddi,
623 struct mddi_info *mddi, 623 unsigned long clk_rate)
624 unsigned long clk_rate)
625{ 624{
626 int ret; 625 int ret;
627 626
@@ -664,7 +663,7 @@ static int __init mddi_rev_data_setup(struct mddi_info *mddi)
664 return 0; 663 return 0;
665} 664}
666 665
667static int __devinit mddi_probe(struct platform_device *pdev) 666static int mddi_probe(struct platform_device *pdev)
668{ 667{
669 struct msm_mddi_platform_data *pdata = pdev->dev.platform_data; 668 struct msm_mddi_platform_data *pdata = pdev->dev.platform_data;
670 struct mddi_info *mddi = &mddi_info[pdev->id]; 669 struct mddi_info *mddi = &mddi_info[pdev->id];