aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/debug.h
diff options
context:
space:
mode:
authorSimon Glass2023-09-14 18:21:46 -0600
committerTom Rini2023-09-24 09:54:57 -0400
commit1e94b46f73cedcebbff73799203f3266c5b28d90 (patch)
tree90c7fccabd09c2c6eb1e4efa2f8b229b11d4461b /drivers/mtd/ubi/debug.h
parentb05a184379631d13c4a49e423aa1324dc1ae6158 (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 'drivers/mtd/ubi/debug.h')
-rw-r--r--drivers/mtd/ubi/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h
index 9c8ce51636b..2e13ebb2fb7 100644
--- a/drivers/mtd/ubi/debug.h
+++ b/drivers/mtd/ubi/debug.h
@@ -17,6 +17,7 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
#endif
#include <hexdump.h>
+#include <linux/printk.h>
#ifndef __UBOOT__
#define ubi_assert(expr) do { \