mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
regulator: core: Call regulator_init later when CONFIG_ROCKCHIP_THUNDER_BOOT=y
Change-Id: I302079e585f374a7fddd207e6fd740b61b0df52c Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
parent
a97e2d456d
commit
fdf8dbe714
|
|
@ -5851,7 +5851,11 @@ static int __init regulator_init(void)
|
|||
}
|
||||
|
||||
/* init early to allow our consumers to complete system booting */
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
core_initcall_sync(regulator_init);
|
||||
#else
|
||||
core_initcall(regulator_init);
|
||||
#endif
|
||||
|
||||
static int regulator_late_cleanup(struct device *dev, void *data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user