Loading drivers/power/qcom/msm-pm.c +16 −6 Original line number Diff line number Diff line /* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -857,15 +857,25 @@ static int __init msm_pm_drv_init(void) rc = platform_driver_register(&msm_cpu_pm_snoc_client_driver); if (rc) { if (rc) pr_err("%s(): failed to register driver %s\n", __func__, msm_cpu_pm_snoc_client_driver.driver.name); return rc; } late_initcall(msm_pm_drv_init); static int __init msm_pm_debug_counters_init(void) { int rc; return platform_driver_register(&msm_cpu_pm_driver); rc = platform_driver_register(&msm_cpu_pm_driver); if (rc) pr_err("%s(): failed to register driver %s\n", __func__, msm_cpu_pm_driver.driver.name); return rc; } late_initcall(msm_pm_drv_init); fs_initcall(msm_pm_debug_counters_init); int __init msm_pm_sleep_status_init(void) { Loading Loading
drivers/power/qcom/msm-pm.c +16 −6 Original line number Diff line number Diff line /* Copyright (c) 2010-2015, The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -857,15 +857,25 @@ static int __init msm_pm_drv_init(void) rc = platform_driver_register(&msm_cpu_pm_snoc_client_driver); if (rc) { if (rc) pr_err("%s(): failed to register driver %s\n", __func__, msm_cpu_pm_snoc_client_driver.driver.name); return rc; } late_initcall(msm_pm_drv_init); static int __init msm_pm_debug_counters_init(void) { int rc; return platform_driver_register(&msm_cpu_pm_driver); rc = platform_driver_register(&msm_cpu_pm_driver); if (rc) pr_err("%s(): failed to register driver %s\n", __func__, msm_cpu_pm_driver.driver.name); return rc; } late_initcall(msm_pm_drv_init); fs_initcall(msm_pm_debug_counters_init); int __init msm_pm_sleep_status_init(void) { Loading