summaryrefslogtreecommitdiffstats
path: root/drivers/interconnect/imx
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-09-20 18:36:45 +0300
committerGeorgi Djakov <djakov@kernel.org>2023-10-10 14:10:50 +0300
commit6548ecdfc16327aafeaa1f1d97f63c79995a56cb (patch)
treed1d562e14d6122b154d04cf5a6c7180fb243d124 /drivers/interconnect/imx
parent273f74a2e7d15a5c216a4a26b84b1563c7092c9d (diff)
downloadlinux-6548ecdfc16327aafeaa1f1d97f63c79995a56cb.tar.gz
linux-6548ecdfc16327aafeaa1f1d97f63c79995a56cb.tar.bz2
linux-6548ecdfc16327aafeaa1f1d97f63c79995a56cb.zip
interconnect: imx: Replace inclusion of kernel.h in the header
The kernel.h is not used here directly, replace it with proper set of headers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230920153645.2068193-1-andriy.shevchenko@linux.intel.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/imx')
-rw-r--r--drivers/interconnect/imx/imx.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/interconnect/imx/imx.h b/drivers/interconnect/imx/imx.h
index 4ec9bc5f383e..d4d0e9888655 100644
--- a/drivers/interconnect/imx/imx.h
+++ b/drivers/interconnect/imx/imx.h
@@ -11,8 +11,12 @@
#define __DRIVERS_INTERCONNECT_IMX_H
#include <linux/args.h>
+#include <linux/bits.h>
+#include <linux/types.h>
+
#include <linux/interconnect-provider.h>
-#include <linux/kernel.h>
+
+struct platform_device;
#define IMX_ICC_MAX_LINKS 4