video: msm: Fix section mismatches in mddi.c
PATCH 1/2 video: msm: Fix section mismatches in mddi.c
The change
commit 461cbe77d0a4f887c33a3a95ea68a7daf23b4302
Author: Gregory Bean <[email protected]>
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.
--- drivers/video/msm/mddi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/video/msm/mddi.c +4 -4
@@ -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;
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
PATCH 2/2 ARM: msm: Fix section mismatches in proc_comm.c
The change
commit 4416e9eb0b4859b3d28016c5fd0a609bdcbc8a2a
Author: Gregory Bean <[email protected]>
Date: Wed Jul 28 10:22:12 2010 -0700
arm: msm: Fix section mismatch in smd.c.
fixes a section mismatch between the board file and the smd driver's probe function, however, it misses the additional mismatches between the probe function and some routines it calls. Fix these up as well.
--- arch/arm/mach-msm/proc_comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-msm/proc_comm.c +1 -1
@@ -121,7 +121,7 @@ int msm_proc_comm(unsigned cmd, unsigned *data1, unsigned *data2)* and unknown state. This function should be called early to * wait on the ARM9. */ -void __init proc_comm_boot_wait (void ) +void __devinit proc_comm_boot_wait (void ) {void __iomem *base =MSM_SHARED_RAM_BASE ;
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
Florian Tobias Schandinat
AppliedQuoted 5 lines · David Brown
The change
commit461cbe77d0a4f887c33a3a95ea68a7daf23b4302
Author: Gregory Bean <[email protected]>
Date: Wed Jul 28 10:22:13 2010 -0700
Quoted 7 lines
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 <[email protected]>
Applied.
Thanks,
Florian Tobias Schandinat
Quoted 30 lines
--- drivers/video/msm/mddi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/video/msm/mddi.c +4
-4@@ -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;
Quoted 8 lines · Florian Tobias Schandinat
Quoted 7 lines · David Brown
The change
commit461cbe77d0a4f887c33a3a95ea68a7daf23b4302
Author: Gregory Bean <[email protected]>
Date: Wed Jul 28 10:22:13 2010 -0700video: msm: Fix section mismatch in
mddi.c.
Quoted 7 lines
Quoted 5 lines
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 <[email protected]>Applied.
Hmm. I guess it is somewhat my fault, since I sent the message To both myself and you. I've already applied this to the MSM tree, and I believe it has been merged into Linus' tree. I don't think it'll be an issue, since git merge will handle the duplicate patch fine.
Next time, I'll try to be clearer about which tree I'm thinking for a patch to go through.
David
Signature · 2 lines
Sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.