summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorGregory Bean <gbean@codeaurora.org>2010-07-28 19:22:13 +0200
committerDaniel Walker <dwalker@codeaurora.org>2010-07-29 22:54:53 +0200
commit461cbe77d0a4f887c33a3a95ea68a7daf23b4302 (patch)
treed76691c6df0a47da8f550156f17c6f44b8e8006e /drivers/video
parentdrivers: video: msm: drop some unused variables (diff)
downloadlinux-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.tar.xz
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')
-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];