mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
staging: board: Initialize staging board code earlier
Currently the staging board code is initialized from a late_initcall(). However, unused PM domains are also disabled from a late_initcall(), which happens before due to link order. Change the initialization of staging board code from using late_initcall() to device_initcall() to fix this. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d4f4708ae0
commit
b0c750f74e
@@ -15,6 +15,6 @@ static int __init runtime_board_check(void) \
|
|||||||
return 0; \
|
return 0; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
late_initcall(runtime_board_check)
|
device_initcall(runtime_board_check)
|
||||||
|
|
||||||
#endif /* __BOARD_H__ */
|
#endif /* __BOARD_H__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user