Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0c750f7 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d4f4708a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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__ */