mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
pmic8xxx-pwrkey: move to subsys_init
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
parent
2d58d21ace
commit
75f55110dc
1 changed files with 7 additions and 1 deletions
|
@ -219,7 +219,13 @@ static struct platform_driver pmic8xxx_pwrkey_driver = {
|
|||
.pm = &pm8xxx_pwr_key_pm_ops,
|
||||
},
|
||||
};
|
||||
module_platform_driver(pmic8xxx_pwrkey_driver);
|
||||
|
||||
static int __devinit pmic8xxx_pwrkey_init(void)
|
||||
{
|
||||
return platform_driver_register(&pmic8xxx_pwrkey_driver);
|
||||
}
|
||||
|
||||
subsys_initcall(pmic8xxx_pwrkey_init);
|
||||
|
||||
MODULE_ALIAS("platform:pmic8xxx_pwrkey");
|
||||
MODULE_DESCRIPTION("PMIC8XXX Power Key driver");
|
||||
|
|
Loading…
Reference in a new issue