mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
serial: 8250: Call serial8250_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y
Before dw8250_platform_driver probe. Change-Id: I46382f1d563ed75897e964c625b91b6f8be0481a Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
parent
074532c0a0
commit
4f6e98e74f
|
|
@ -1211,7 +1211,11 @@ static void __exit serial8250_exit(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
rootfs_initcall(serial8250_init);
|
||||
#else
|
||||
module_init(serial8250_init);
|
||||
#endif
|
||||
module_exit(serial8250_exit);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user