From: Przemyslaw Marczak Date: Mon, 20 Apr 2015 18:07:50 +0000 (+0200) Subject: dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC X-Git-Tag: v2015.07-rc2~194 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=622e5fee3d14c06c4c68f3c89612a9e58926c900;p=platform%2Fkernel%2Fu-boot.git dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC In the power_init_board function call, regulator driver init is called, so before compile, make sure that any power framework is defined. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass --- diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 9be2950..20dd75c 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -21,9 +21,9 @@ #include #include #include -#include #include #include +#include #include #include @@ -169,7 +169,7 @@ int board_early_init_f(void) } #endif -#if defined(CONFIG_POWER) +#if defined(CONFIG_POWER) || defined(CONFIG_DM_PMIC) int power_init_board(void) { set_ps_hold_ctrl();