提交 49a8ee8a 编写于 作者: D David Brown 提交者: Florian Tobias Schandinat

video: msm: Fix section mismatches in mddi.c

The change
    commit 461cbe77
    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: NDavid Brown <davidb@codeaurora.org>
Signed-off-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
上级 8affaf5c
...@@ -420,7 +420,7 @@ static void mddi_resume(struct msm_mddi_client_data *cdata) ...@@ -420,7 +420,7 @@ static void mddi_resume(struct msm_mddi_client_data *cdata)
mddi_set_auto_hibernate(&mddi->client_data, 1); 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; int i, j;
...@@ -622,9 +622,9 @@ uint32_t mddi_remote_read(struct msm_mddi_client_data *cdata, uint32_t reg) ...@@ -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 struct mddi_info mddi_info[2];
static int __init mddi_clk_setup(struct platform_device *pdev, static int __devinit mddi_clk_setup(struct platform_device *pdev,
struct mddi_info *mddi, struct mddi_info *mddi,
unsigned long clk_rate) unsigned long clk_rate)
{ {
int ret; int ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册