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 /fs | |
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 <sjg@chromium.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/debug.c | 1 | ||||
-rw-r--r-- | fs/ubifs/debug.h | 1 | ||||
-rw-r--r-- | fs/ubifs/lpt_commit.c | 1 | ||||
-rw-r--r-- | fs/ubifs/super.c | 1 | ||||
-rw-r--r-- | fs/ubifs/ubifs.h | 1 | ||||
-rw-r--r-- | fs/yaffs2/yaffs_uboot_glue.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index bede7d01ca..ff2a5719c3 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c @@ -18,6 +18,7 @@ #include <hexdump.h> #include <log.h> #include <dm/devres.h> +#include <linux/printk.h> #ifndef __UBOOT__ #include <linux/module.h> diff --git a/fs/ubifs/debug.h b/fs/ubifs/debug.h index 0ecc2e0c8e..d8324aea5f 100644 --- a/fs/ubifs/debug.h +++ b/fs/ubifs/debug.h @@ -12,6 +12,7 @@ #define __UBIFS_DEBUG_H__ /* Checking helper functions */ +#include <linux/printk.h> typedef int (*dbg_leaf_callback)(struct ubifs_info *c, struct ubifs_zbranch *zbr, void *priv); typedef int (*dbg_znode_callback)(struct ubifs_info *c, diff --git a/fs/ubifs/lpt_commit.c b/fs/ubifs/lpt_commit.c index ba0b19a1f2..2e50c08f4d 100644 --- a/fs/ubifs/lpt_commit.c +++ b/fs/ubifs/lpt_commit.c @@ -24,6 +24,7 @@ #include <linux/compat.h> #include <linux/err.h> #include <linux/crc16.h> +#include <linux/printk.h> #endif #include "ubifs.h" diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 034c41a703..3e7160352e 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -35,6 +35,7 @@ #include <linux/bitops.h> #include <linux/bug.h> #include <linux/log2.h> +#include <linux/printk.h> #include <linux/stat.h> #include <linux/err.h> #include "ubifs.h" diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 46dfbd0b5a..67b13c83b5 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -35,6 +35,7 @@ #include <asm-generic/atomic-long.h> #include <ubi_uboot.h> #include <ubifs_uboot.h> +#include <linux/printk.h> #include <linux/ctype.h> #include <linux/time.h> diff --git a/fs/yaffs2/yaffs_uboot_glue.c b/fs/yaffs2/yaffs_uboot_glue.c index ec8d028316..0a92056114 100644 --- a/fs/yaffs2/yaffs_uboot_glue.c +++ b/fs/yaffs2/yaffs_uboot_glue.c @@ -22,6 +22,7 @@ #include <common.h> #include <div64.h> #include <malloc.h> +#include <linux/printk.h> #include <config.h> #include "nand.h" |