diff options
author | Simon Glass <sjg@chromium.org> | 2023-09-14 18:21:46 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-09-24 09:54:57 -0400 |
commit | 1e94b46f73cedcebbff73799203f3266c5b28d90 (patch) | |
tree | 90c7fccabd09c2c6eb1e4efa2f8b229b11d4461b /board/st | |
parent | b05a184379631d13c4a49e423aa1324dc1ae6158 (diff) | |
download | u-boot-1e94b46f73cedcebbff73799203f3266c5b28d90.tar.gz u-boot-1e94b46f73cedcebbff73799203f3266c5b28d90.tar.bz2 u-boot-1e94b46f73cedcebbff73799203f3266c5b28d90.zip |
common: Drop linux/printk.h from common header
This old patch was marked as deferred. Bring it back to life, to continue
towards the removal of common.h
Move this out of the common header and include it only where needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/st')
-rw-r--r-- | board/st/common/stm32mp_dfu.c | 1 | ||||
-rw-r--r-- | board/st/stm32mp1/stm32mp1.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c index 1cf4a3d5fa..faee953cd4 100644 --- a/board/st/common/stm32mp_dfu.c +++ b/board/st/common/stm32mp_dfu.c @@ -14,6 +14,7 @@ #include <mtd.h> #include <mtd_node.h> #include <asm/arch/stm32prog.h> +#include <linux/printk.h> #define DFU_ALT_BUF_LEN SZ_1K diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 3205a31c6d..8f5719c28b 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -44,6 +44,7 @@ #include <linux/delay.h> #include <linux/err.h> #include <linux/iopoll.h> +#include <linux/printk.h> #include <power/regulator.h> #include <usb/dwc2_udc.h> |