summaryrefslogtreecommitdiffstats
path: root/drivers/video/msm
diff options
context:
space:
mode:
authorGregory Bean <gbean@codeaurora.org>2010-07-28 10:22:13 -0700
committerDaniel Walker <dwalker@codeaurora.org>2010-07-29 13:54:53 -0700
commit461cbe77d0a4f887c33a3a95ea68a7daf23b4302 (patch)
treed76691c6df0a47da8f550156f17c6f44b8e8006e /drivers/video/msm
parent529d1a361978ab6f986514d852e0eebc0a2c4040 (diff)
downloadlinux-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.tar.gz
linux-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.tar.bz2
linux-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.zip
video: msm: Fix section mismatch in mddi.c.
Repair a section mismatch between the mddi driver's platform_driver structure and its probe method. Signed-off-by: Gregory Bean <gbean@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'drivers/video/msm')
-rw-r--r--drivers/video/msm/mddi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c
index 844eff3ca8e6..7c316c34dfca 100644
--- a/drivers/video/msm/mddi.c
+++ b/drivers/video/msm/mddi.c
@@ -668,7 +668,7 @@ static int __init mddi_rev_data_setup(struct mddi_info *mddi)
return 0;
}
-static int __init mddi_probe(struct platform_device *pdev)
+static int __devinit mddi_probe(struct platform_device *pdev)
{
struct msm_mddi_platform_data *pdata = pdev->dev.platform_data;
struct mddi_info *mddi = &mddi_info[pdev->id];