Skip to contentSkip to conversation

video: msm: Fix section mismatches in mddi.c

PATCH Applied David Brown 2 participants 4 messages Apr 12, 2012 – Apr 23, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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
index 4527cbf..b061d70 100644
@@ -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.
#1 lore raw

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
index 67e701c..9980dc7 100644
@@ -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.
#2 lore raw
In reply to David Brown
Quoted 5 lines · David Brown

The change
commit 461cbe77d0a4f887c33a3a95ea68a7daf23b4302
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.

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
index 4527cbf..b061d70 100644
@@ -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;
 
#3 lore raw
Quoted 8 lines · Florian Tobias Schandinat
Quoted 7 lines · David Brown

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.

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.

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.