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 /include | |
| 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 'include')
| -rw-r--r-- | include/common.h | 1 | ||||
| -rw-r--r-- | include/crypto/pkcs7_parser.h | 1 | ||||
| -rw-r--r-- | include/dm/device_compat.h | 1 | ||||
| -rw-r--r-- | include/linux/soc/ti/cppi5.h | 1 |
4 files changed, 3 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 25c317f4439..a79c2bb4993 100644 --- a/include/common.h +++ b/include/common.h @@ -17,7 +17,6 @@ #include <errno.h> #include <time.h> #include <linux/types.h> -#include <linux/printk.h> #include <linux/string.h> #include <stdarg.h> #include <stdio.h> diff --git a/include/crypto/pkcs7_parser.h b/include/crypto/pkcs7_parser.h index 906033a90eb..2c45cce5234 100644 --- a/include/crypto/pkcs7_parser.h +++ b/include/crypto/pkcs7_parser.h @@ -11,6 +11,7 @@ #include <linux/oid_registry.h> #include <crypto/pkcs7.h> #include <crypto/x509_parser.h> +#include <linux/printk.h> #define kenter(FMT, ...) \ pr_devel("==> %s("FMT")\n", __func__, ##__VA_ARGS__) diff --git a/include/dm/device_compat.h b/include/dm/device_compat.h index 82d7a7d4924..aa9a6fbb5e3 100644 --- a/include/dm/device_compat.h +++ b/include/dm/device_compat.h @@ -14,6 +14,7 @@ #include <log.h> #include <linux/build_bug.h> #include <linux/compat.h> +#include <linux/printk.h> /* * Define a new identifier which can be tested on by C code. A similar diff --git a/include/linux/soc/ti/cppi5.h b/include/linux/soc/ti/cppi5.h index cfdf7ea29fc..3a55c3ec46f 100644 --- a/include/linux/soc/ti/cppi5.h +++ b/include/linux/soc/ti/cppi5.h @@ -11,6 +11,7 @@ #include <hexdump.h> #include <linux/bitops.h> #include <linux/bug.h> +#include <linux/printk.h> /** * Descriptor header, present in all types of descriptors |
