pmaports/device/testing/linux-lg-w7/01_msm_section_mismatch.patch

17 lines
550 B
Diff
Raw Normal View History

diff --git a/arch/arm/mach-msm/pm-boot.h b/arch/arm/mach-msm/pm-boot.h
index 2d5110d3..8b5f69e4 100644
--- a/arch/arm/mach-msm/pm-boot.h
+++ b/arch/arm/mach-msm/pm-boot.h
@@ -31,9 +31,9 @@ struct msm_pm_boot_platform_data {
};
#ifdef CONFIG_PM
-int __init msm_pm_boot_init(struct msm_pm_boot_platform_data *pdata);
+int __devinit msm_pm_boot_init(struct msm_pm_boot_platform_data *pdata);
#else
-static inline int __init msm_pm_boot_init(
+static inline int __devinit msm_pm_boot_init(
struct msm_pm_boot_platform_data *pdata)
{
return 0;