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 /drivers/core | |
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 'drivers/core')
-rw-r--r-- | drivers/core/device.c | 1 | ||||
-rw-r--r-- | drivers/core/of_addr.c | 1 | ||||
-rw-r--r-- | drivers/core/root.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/core/device.c b/drivers/core/device.c index 60f8d6700a..bf7f261cbc 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -33,6 +33,7 @@ #include <linux/err.h> #include <linux/list.h> #include <power-domain.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/core/of_addr.c b/drivers/core/of_addr.c index 431dd4e565..b3b3d7ccdd 100644 --- a/drivers/core/of_addr.c +++ b/drivers/core/of_addr.c @@ -14,6 +14,7 @@ #include <dm/of_addr.h> #include <linux/err.h> #include <linux/ioport.h> +#include <linux/printk.h> /* Max address size we deal with */ #define OF_MAX_ADDR_CELLS 4 diff --git a/drivers/core/root.c b/drivers/core/root.c index 47b1320a44..126b314066 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -29,6 +29,7 @@ #include <dm/uclass-internal.h> #include <dm/util.h> #include <linux/list.h> +#include <linux/printk.h> DECLARE_GLOBAL_DATA_PTR; |