aboutsummaryrefslogtreecommitdiffstats
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)
downloadkernel_samsung_tuna-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.zip
kernel_samsung_tuna-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.tar.gz
kernel_samsung_tuna-461cbe77d0a4f887c33a3a95ea68a7daf23b4302.tar.bz2
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 844eff3..7c316c3 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];