summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDavid Brown <davidb@codeaurora.org>2012-04-12 11:45:33 -0700
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-04-18 17:10:34 +0000
commit49a8ee8ac3f20e4d8fe284012c082a793982d48f (patch)
tree6645f668dd7af546d68a86cb8db0b61503ecaede /drivers
parent8affaf5c7698c627b133bfcafd9869ef17faff31 (diff)
downloadlinux-3.10-49a8ee8ac3f20e4d8fe284012c082a793982d48f.tar.gz
linux-3.10-49a8ee8ac3f20e4d8fe284012c082a793982d48f.tar.bz2
linux-3.10-49a8ee8ac3f20e4d8fe284012c082a793982d48f.zip
video: msm: Fix section mismatches in mddi.c
The change commit 461cbe77d0a4f887c33a3a95ea68a7daf23b4302 Author: Gregory Bean <gbean@codeaurora.org> Date: Wed Jul 28 10:22:13 2010 -0700 video: msm: Fix section mismatch in mddi.c. fixes a section mismatch between the board file and the driver's probe function, however, it misses the additional mismatches between the probe function and some routines it calls. Fix these up as well. Signed-off-by: David Brown <davidb@codeaurora.org> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/msm/mddi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c
index 4527cbf0a4e..b061d709bc4 100644
--- a/drivers/video/msm/mddi.c
+++ b/drivers/video/msm/mddi.c
@@ -420,7 +420,7 @@ static void mddi_resume(struct msm_mddi_client_data *cdata)
mddi_set_auto_hibernate(&mddi->client_data, 1);
}
-static int __init mddi_get_client_caps(struct mddi_info *mddi)
+static int __devinit mddi_get_client_caps(struct mddi_info *mddi)
{
int i, j;
@@ -622,9 +622,9 @@ uint32_t mddi_remote_read(struct msm_mddi_client_data *cdata, uint32_t reg)
static struct mddi_info mddi_info[2];
-static int __init mddi_clk_setup(struct platform_device *pdev,
- struct mddi_info *mddi,
- unsigned long clk_rate)
+static int __devinit mddi_clk_setup(struct platform_device *pdev,
+ struct mddi_info *mddi,
+ unsigned long clk_rate)
{
int ret;