Skip to contentSkip to conversation

arm: msm: Fix section mismatch in smd.c.

PATCH New Gregory Bean 1 participant 2 messages Jul 28, 2010

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

PATCH 1/2 arm: msm: Fix section mismatch in smd.c.

Repair a section mismatch between the smd driver's platform_driver structure and its probe method.

---
 arch/arm/mach-msm/smd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-msm/smd.c +1 -1
index cf11d41..f07dc7c 100644
@@ -997,7 +997,7 @@ int smd_core_init(void)
 	return 0;
 }
 
-static int __init msm_smd_probe(struct platform_device *pdev)
+static int __devinit msm_smd_probe(struct platform_device *pdev)
 {
 	pr_info("smd_init()\n");
 
Signature · 5 lines
1.7.0.4

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#1 lore raw

PATCH 2/2 video: msm: Fix section mismatch in mddi.c.

Repair a section mismatch between the mddi driver's platform_driver structure and its probe method.

---
 drivers/video/msm/mddi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/msm/mddi.c +1 -1
index 844eff3..7c316c3 100644
@@ -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];
Signature · 5 lines
1.7.0.4

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.