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 /cmd | |
parent | b05a184379631d13c4a49e423aa1324dc1ae6158 (diff) | |
download | u-boot-1e94b46f73cedcebbff73799203f3266c5b28d90.zip u-boot-1e94b46f73cedcebbff73799203f3266c5b28d90.tar.gz u-boot-1e94b46f73cedcebbff73799203f3266c5b28d90.tar.bz2 |
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 'cmd')
-rw-r--r-- | cmd/adc.c | 1 | ||||
-rw-r--r-- | cmd/fastboot.c | 1 | ||||
-rw-r--r-- | cmd/nvedit.c | 1 | ||||
-rw-r--r-- | cmd/onenand.c | 1 | ||||
-rw-r--r-- | cmd/regulator.c | 1 | ||||
-rw-r--r-- | cmd/thordown.c | 1 | ||||
-rw-r--r-- | cmd/tpm_test.c | 1 | ||||
-rw-r--r-- | cmd/usb_gadget_sdp.c | 1 | ||||
-rw-r--r-- | cmd/usb_mass_storage.c | 1 |
9 files changed, 9 insertions, 0 deletions
@@ -7,6 +7,7 @@ #include <command.h> #include <dm.h> #include <adc.h> +#include <linux/printk.h> static int do_adc_list(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/cmd/fastboot.c b/cmd/fastboot.c index 17fb0a0..c3c1923 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -14,6 +14,7 @@ #include <net.h> #include <usb.h> #include <watchdog.h> +#include <linux/printk.h> #include <linux/stringify.h> static int do_fastboot_udp(int argc, char *const argv[], diff --git a/cmd/nvedit.c b/cmd/nvedit.c index fe99157..eaa000b 100644 --- a/cmd/nvedit.c +++ b/cmd/nvedit.c @@ -36,6 +36,7 @@ #include <mapmem.h> #include <asm/global_data.h> #include <linux/bitops.h> +#include <linux/printk.h> #include <u-boot/crc.h> #include <linux/stddef.h> #include <asm/byteorder.h> diff --git a/cmd/onenand.c b/cmd/onenand.c index 3ec1124..fad7815 100644 --- a/cmd/onenand.c +++ b/cmd/onenand.c @@ -12,6 +12,7 @@ #include <common.h> #include <command.h> #include <malloc.h> +#include <linux/printk.h> #include <linux/compat.h> #include <linux/mtd/mtd.h> diff --git a/cmd/regulator.c b/cmd/regulator.c index 8988c90..635a9ad 100644 --- a/cmd/regulator.c +++ b/cmd/regulator.c @@ -8,6 +8,7 @@ #include <errno.h> #include <dm.h> #include <dm/uclass-internal.h> +#include <linux/printk.h> #include <power/regulator.h> #define LIMIT_DEVNAME 20 diff --git a/cmd/thordown.c b/cmd/thordown.c index fcfd38f..48e22b3 100644 --- a/cmd/thordown.c +++ b/cmd/thordown.c @@ -12,6 +12,7 @@ #include <dfu.h> #include <g_dnl.h> #include <usb.h> +#include <linux/printk.h> int do_thor_down(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { diff --git a/cmd/tpm_test.c b/cmd/tpm_test.c index 9bdc9c6..c7fa6e7 100644 --- a/cmd/tpm_test.c +++ b/cmd/tpm_test.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <log.h> #include <tpm-v1.h> +#include <linux/printk.h> #include "tpm-user-utils.h" #include <tpm_api.h> diff --git a/cmd/usb_gadget_sdp.c b/cmd/usb_gadget_sdp.c index 748aa0a..cbdda73 100644 --- a/cmd/usb_gadget_sdp.c +++ b/cmd/usb_gadget_sdp.c @@ -11,6 +11,7 @@ #include <g_dnl.h> #include <sdp.h> #include <usb.h> +#include <linux/printk.h> static int do_sdp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { diff --git a/cmd/usb_mass_storage.c b/cmd/usb_mass_storage.c index 9c51ae0..a8ddeb4 100644 --- a/cmd/usb_mass_storage.c +++ b/cmd/usb_mass_storage.c @@ -18,6 +18,7 @@ #include <usb_mass_storage.h> #include <watchdog.h> #include <linux/delay.h> +#include <linux/printk.h> static int ums_read_sector(struct ums *ums_dev, ulong start, lbaint_t blkcnt, void *buf) |