Skip to content

Commit b0c750f

Browse files
geertugregkh
authored andcommitted
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>
1 parent d4f4708 commit b0c750f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/board/board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ static int __init runtime_board_check(void) \
1515
return 0; \
1616
} \
1717
\
18-
late_initcall(runtime_board_check)
18+
device_initcall(runtime_board_check)
1919

2020
#endif /* __BOARD_H__ */

0 commit comments

Comments
 (0)