From 36bf446b642d5759981f5adf547b4a7aeb15eee3 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:42 -0700 Subject: common: Move enable/disable_interrupts out of common.h Move these two functions into the irq_funcs.h header file. Also move interrupt_handler_t as this is used by the irq_install_handler() function. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- common/board_r.c | 1 + common/bootm.c | 1 + 2 files changed, 2 insertions(+) (limited to 'common') diff --git a/common/board_r.c b/common/board_r.c index 969ed73..5464172 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -12,6 +12,7 @@ #include #include #include +#include #include /* TODO: can we just include all these headers whether needed or not? */ #if defined(CONFIG_CMD_BEDBUG) diff --git a/common/bootm.c b/common/bootm.c index 3bbe490..902c138 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include -- cgit v1.1