diff options
| author | Simon Glass <[email protected]> | 2023-09-14 18:21:46 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-09-24 09:54:57 -0400 |
| commit | 1e94b46f73cedcebbff73799203f3266c5b28d90 (patch) | |
| tree | 90c7fccabd09c2c6eb1e4efa2f8b229b11d4461b /common | |
| parent | b05a184379631d13c4a49e423aa1324dc1ae6158 (diff) | |
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 <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/dfu.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_dfu.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_fit.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_opensbi.c | 1 | ||||
| -rw-r--r-- | common/spl/spl_sdp.c | 1 | ||||
| -rw-r--r-- | common/update.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/common/dfu.c b/common/dfu.c index 45206b9e225..0d154e8d4c4 100644 --- a/common/dfu.c +++ b/common/dfu.c @@ -19,6 +19,7 @@ #include <g_dnl.h> #include <usb.h> #include <net.h> +#include <linux/printk.h> int run_usb_dnl_gadget(int usbctrl_index, char *usb_dnl_gadget) { diff --git a/common/spl/spl_dfu.c b/common/spl/spl_dfu.c index 5728d43ad3f..8a779da8fa1 100644 --- a/common/spl/spl_dfu.c +++ b/common/spl/spl_dfu.c @@ -15,6 +15,7 @@ #include <g_dnl.h> #include <usb.h> #include <dfu.h> +#include <linux/printk.h> static int run_dfu(int usb_index, char *interface, char *devstring) { diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 730639f7562..cd73b256565 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -17,6 +17,7 @@ #include <asm/cache.h> #include <asm/global_data.h> #include <linux/libfdt.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c index b0f40076c34..9e98a566f89 100644 --- a/common/spl/spl_opensbi.c +++ b/common/spl/spl_opensbi.c @@ -15,6 +15,7 @@ #include <asm/smp.h> #include <opensbi.h> #include <linux/libfdt.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c index 5a5ccd0676c..9143c27bbf1 100644 --- a/common/spl/spl_sdp.c +++ b/common/spl/spl_sdp.c @@ -10,6 +10,7 @@ #include <usb.h> #include <g_dnl.h> #include <sdp.h> +#include <linux/printk.h> static int spl_sdp_load_image(struct spl_image_info *spl_image, struct spl_boot_device *bootdev) diff --git a/common/update.c b/common/update.c index 3502713d7d8..ec302ca68fb 100644 --- a/common/update.c +++ b/common/update.c @@ -9,6 +9,7 @@ #include <common.h> #include <cpu_func.h> #include <image.h> +#include <linux/printk.h> #include <command.h> #include <env.h> |
