summaryrefslogtreecommitdiff
path: root/drivers/video/msm/mddi.c
diff options
context:
space:
mode:
authorGregory Bean <gbean@codeaurora.org>2010-07-28 21:22:13 +0400
committerDaniel Walker <dwalker@codeaurora.org>2010-07-30 00:54:53 +0400
commit461cbe77d0a4f887c33a3a95ea68a7daf23b4302 (patch)
treed76691c6df0a47da8f550156f17c6f44b8e8006e /drivers/video/msm/mddi.c
parent529d1a361978ab6f986514d852e0eebc0a2c4040 (diff)
downloadlinux-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.tar.xz
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/mddi.c')
-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];