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 /drivers/dfu | |
| 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 'drivers/dfu')
| -rw-r--r-- | drivers/dfu/dfu.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_mmc.c | 1 | ||||
| -rw-r--r-- | drivers/dfu/dfu_ram.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index b2ee5f1ede6..2adf26e2fe2 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -17,6 +17,7 @@ #include <hash.h> #include <linux/list.h> #include <linux/compiler.h> +#include <linux/printk.h> LIST_HEAD(dfu_list); static int dfu_alt_num; diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c index f5832083ba1..cdb3c18b01d 100644 --- a/drivers/dfu/dfu_mmc.c +++ b/drivers/dfu/dfu_mmc.c @@ -17,6 +17,7 @@ #include <mmc.h> #include <part.h> #include <command.h> +#include <linux/printk.h> static unsigned char *dfu_file_buf; static u64 dfu_file_buf_len; diff --git a/drivers/dfu/dfu_ram.c b/drivers/dfu/dfu_ram.c index 9d10303164e..c4f4bd2e482 100644 --- a/drivers/dfu/dfu_ram.c +++ b/drivers/dfu/dfu_ram.c @@ -13,6 +13,7 @@ #include <mapmem.h> #include <errno.h> #include <dfu.h> +#include <linux/printk.h> static int dfu_transfer_medium_ram(enum dfu_op op, struct dfu_entity *dfu, u64 offset, void *buf, long *len) |
