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>
This commit is contained in:
parent
6b4266b8de
commit
988f0a9045
@ -7,7 +7,8 @@
|
|||||||
#ifndef __FSL_DPAA2_FD_H
|
#ifndef __FSL_DPAA2_FD_H
|
||||||
#define __FSL_DPAA2_FD_H
|
#define __FSL_DPAA2_FD_H
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/byteorder/generic.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2
|
* DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
#define _ASM_POWERPC_IMMAP_QE_H
|
#define _ASM_POWERPC_IMMAP_QE_H
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
|
||||||
#define QE_IMMAP_SIZE (1024 * 1024) /* 1MB from 1MB+IMMR */
|
#define QE_IMMAP_SIZE (1024 * 1024) /* 1MB from 1MB+IMMR */
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
#ifndef _QE_TDM_H_
|
#ifndef _QE_TDM_H_
|
||||||
#define _QE_TDM_H_
|
#define _QE_TDM_H_
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
#include <soc/fsl/qe/immap_qe.h>
|
#include <soc/fsl/qe/immap_qe.h>
|
||||||
#include <soc/fsl/qe/qe.h>
|
#include <soc/fsl/qe/qe.h>
|
||||||
@ -19,6 +19,8 @@
|
|||||||
#include <soc/fsl/qe/ucc.h>
|
#include <soc/fsl/qe/ucc.h>
|
||||||
#include <soc/fsl/qe/ucc_fast.h>
|
#include <soc/fsl/qe/ucc_fast.h>
|
||||||
|
|
||||||
|
struct device_node;
|
||||||
|
|
||||||
/* SI RAM entries */
|
/* SI RAM entries */
|
||||||
#define SIR_LAST 0x0001
|
#define SIR_LAST 0x0001
|
||||||
#define SIR_BYTE 0x0002
|
#define SIR_BYTE 0x0002
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#ifndef __UCC_FAST_H__
|
#ifndef __UCC_FAST_H__
|
||||||
#define __UCC_FAST_H__
|
#define __UCC_FAST_H__
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#include <soc/fsl/qe/immap_qe.h>
|
#include <soc/fsl/qe/immap_qe.h>
|
||||||
#include <soc/fsl/qe/qe.h>
|
#include <soc/fsl/qe/qe.h>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#ifndef __UCC_SLOW_H__
|
#ifndef __UCC_SLOW_H__
|
||||||
#define __UCC_SLOW_H__
|
#define __UCC_SLOW_H__
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#include <soc/fsl/qe/immap_qe.h>
|
#include <soc/fsl/qe/immap_qe.h>
|
||||||
#include <soc/fsl/qe/qe.h>
|
#include <soc/fsl/qe/qe.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user