summaryrefslogtreecommitdiff
path: root/include/soc/fsl/qe/immap_qe.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-11-10 12:59:52 +0200
committerLi Yang <leoyang.li@nxp.com>2022-02-18 17:11:17 -0600
commit988f0a9045b0058a43ccee764a671dfab81e6d15 (patch)
tree6b6517e418416a9aabdba9d44bbb73f7a27f32b3 /include/soc/fsl/qe/immap_qe.h
parent6b4266b8deb857ce2dc2a9b769b242865b9a0bce (diff)
soc: fsl: Replace kernel.h with the necessary inclusions
When kernel.h is used in the headers it adds a lot into dependency hell, especially when there are circular dependencies are involved. Replace kernel.h inclusion with the list of what is really being used. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'include/soc/fsl/qe/immap_qe.h')
-rw-r--r--include/soc/fsl/qe/immap_qe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/soc/fsl/qe/immap_qe.h b/include/soc/fsl/qe/immap_qe.h
index 7614fee532f1..edd601f53f5d 100644
--- a/include/soc/fsl/qe/immap_qe.h
+++ b/include/soc/fsl/qe/immap_qe.h
@@ -13,7 +13,8 @@
#define _ASM_POWERPC_IMMAP_QE_H
#ifdef __KERNEL__
-#include <linux/kernel.h>
+#include <linux/types.h>
+
#include <asm/io.h>
#define QE_IMMAP_SIZE (1024 * 1024) /* 1MB from 1MB+IMMR */