From: Geert Uytterhoeven Date: Wed, 17 Jun 2015 08:38:51 +0000 (+0200) Subject: staging: board: Initialize staging board code earlier X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0c750f74e10fd30a363bfa3467639f12954effa;p=pandora-kernel.git 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 Acked-by: Simon Horman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/board/board.h b/drivers/staging/board/board.h index 2390ed6c31a4..e9c914985d4a 100644 --- a/drivers/staging/board/board.h +++ b/drivers/staging/board/board.h @@ -15,6 +15,6 @@ static int __init runtime_board_check(void) \ return 0; \ } \ \ -late_initcall(runtime_board_check) +device_initcall(runtime_board_check) #endif /* __BOARD_H__ */