summaryrefslogtreecommitdiff
path: root/drivers/staging/board
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-06-17 10:38:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-17 21:42:51 -0700
commitb0c750f74e10fd30a363bfa3467639f12954effa (patch)
tree0bb77c7f9eeb54ac978ed240a47b2e423a01f421 /drivers/staging/board
parentd4f4708ae0d0e7e99d5d5c42b3b4a317dab3c01b (diff)
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>
Diffstat (limited to 'drivers/staging/board')
-rw-r--r--drivers/staging/board/board.h2
1 files changed, 1 insertions, 1 deletions
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__ */