summaryrefslogtreecommitdiff
path: root/include/soc/fsl/qe/qe_tdm.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-11-10 13:59:52 +0300
committerLi Yang <leoyang.li@nxp.com>2022-02-19 02:11:17 +0300
commit988f0a9045b0058a43ccee764a671dfab81e6d15 (patch)
tree6b6517e418416a9aabdba9d44bbb73f7a27f32b3 /include/soc/fsl/qe/qe_tdm.h
parent6b4266b8deb857ce2dc2a9b769b242865b9a0bce (diff)
downloadlinux-988f0a9045b0058a43ccee764a671dfab81e6d15.tar.xz
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/qe_tdm.h')
-rw-r--r--include/soc/fsl/qe/qe_tdm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/soc/fsl/qe/qe_tdm.h b/include/soc/fsl/qe/qe_tdm.h
index b6febe225071..43ea830cfe1f 100644
--- a/include/soc/fsl/qe/qe_tdm.h
+++ b/include/soc/fsl/qe/qe_tdm.h
@@ -10,8 +10,8 @@
#ifndef _QE_TDM_H_
#define _QE_TDM_H_
-#include <linux/kernel.h>
#include <linux/list.h>
+#include <linux/types.h>
#include <soc/fsl/qe/immap_qe.h>
#include <soc/fsl/qe/qe.h>
@@ -19,6 +19,8 @@
#include <soc/fsl/qe/ucc.h>
#include <soc/fsl/qe/ucc_fast.h>
+struct device_node;
+
/* SI RAM entries */
#define SIR_LAST 0x0001
#define SIR_BYTE 0x0002