diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/ambassador/board.c | 2 | ||||
-rw-r--r-- | board/brask/board.c | 2 | ||||
-rw-r--r-- | board/dooly/board.c | 2 | ||||
-rw-r--r-- | board/fizz/board.c | 4 | ||||
-rw-r--r-- | board/kinox/board.c | 2 | ||||
-rw-r--r-- | board/moli/board.c | 2 | ||||
-rw-r--r-- | board/puff/board.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/board/ambassador/board.c b/board/ambassador/board.c index a5abbaa130..5cf319bc79 100644 --- a/board/ambassador/board.c +++ b/board/ambassador/board.c @@ -237,7 +237,7 @@ static void adp_state_init(void) /* Report charge state from the barrel jack. */ adp_connect_deferred(); } -DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_CHARGE_MANAGER_INIT + 1); +DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1); #include "gpio_list.h" /* Must come after other header files. */ diff --git a/board/brask/board.c b/board/brask/board.c index 4353e8b0e9..022ce8f43c 100644 --- a/board/brask/board.c +++ b/board/brask/board.c @@ -243,7 +243,7 @@ static void adp_state_init(void) /* Report charge state from the barrel jack. */ adp_connect_deferred(); } -DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_CHARGE_MANAGER_INIT + 1); +DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1); static void board_init(void) { diff --git a/board/dooly/board.c b/board/dooly/board.c index 06e479649d..45ebca1232 100644 --- a/board/dooly/board.c +++ b/board/dooly/board.c @@ -468,7 +468,7 @@ static void adp_state_init(void) /* Report charge state from the barrel jack. */ adp_connect_deferred(); } -DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_CHARGE_MANAGER_INIT + 1); +DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1); #include "gpio_list.h" /* Must come after other header files. */ diff --git a/board/fizz/board.c b/board/fizz/board.c index 975401d5a1..a397ca27e4 100644 --- a/board/fizz/board.c +++ b/board/fizz/board.c @@ -537,7 +537,7 @@ void board_set_charge_limit(int port, int supplier, int charge_ma, /* * In terms of timing, this should always work because - * HOOK_PRIO_CHARGE_MANAGER_INIT is notified after HOOK_PRIO_INIT_I2C. + * HOOK_PRIO_INIT_CHARGE_MANAGER is notified after HOOK_PRIO_INIT_I2C. * If CBI isn't initialized or contains invalid data, we assume it's * a new board. */ @@ -811,7 +811,7 @@ static void board_charge_manager_init(void) } } DECLARE_HOOK(HOOK_INIT, board_charge_manager_init, - HOOK_PRIO_CHARGE_MANAGER_INIT + 1); + HOOK_PRIO_INIT_CHARGE_MANAGER + 1); static void board_init(void) { diff --git a/board/kinox/board.c b/board/kinox/board.c index 0dc4ae5737..43a1cef501 100644 --- a/board/kinox/board.c +++ b/board/kinox/board.c @@ -155,7 +155,7 @@ static void adp_state_init(void) /* Report charge state from the barrel jack. */ adp_connect_deferred(); } -DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_CHARGE_MANAGER_INIT + 1); +DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1); static void board_init(void) { diff --git a/board/moli/board.c b/board/moli/board.c index 9ca199d207..10b4de5589 100644 --- a/board/moli/board.c +++ b/board/moli/board.c @@ -186,7 +186,7 @@ static void adp_state_init(void) /* Report charge state from the barrel jack. */ adp_connect_deferred(); } -DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_CHARGE_MANAGER_INIT + 1); +DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1); static void board_init(void) { diff --git a/board/puff/board.c b/board/puff/board.c index bf22657bf4..a893de33c3 100644 --- a/board/puff/board.c +++ b/board/puff/board.c @@ -237,7 +237,7 @@ static void adp_state_init(void) /* Report charge state from the barrel jack. */ adp_connect_deferred(); } -DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_CHARGE_MANAGER_INIT + 1); +DECLARE_HOOK(HOOK_INIT, adp_state_init, HOOK_PRIO_INIT_CHARGE_MANAGER + 1); #include "gpio_list.h" /* Must come after other header files. */ |