staging: fsl-mc: explicitly include files where they are needed

Instead of relying on mc-sys.h to include misc system headers, have
the source files that need them explicitly do it themselves.

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Stuart Yoder 2016-08-23 17:14:18 -05:00 committed by Greg Kroah-Hartman
parent 7f59f4c71d
commit 5143ecf6db
4 changed files with 5 additions and 2 deletions

View file

@ -18,6 +18,7 @@
#include <linux/limits.h>
#include <linux/bitops.h>
#include <linux/msi.h>
#include <linux/dma-mapping.h>
#include "../include/dpmng.h"
#include "../include/mc-sys.h"
#include "fsl-mc-private.h"

View file

@ -32,6 +32,8 @@
#include "../include/mc-bus.h"
#include "../include/mc-sys.h"
#include <linux/io.h>
#include "fsl-mc-private.h"
#include "dpmcp.h"
#include "dpmcp-cmd.h"

View file

@ -39,6 +39,8 @@
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/device.h>
#include <linux/io.h>
#include "dpmcp.h"
/**

View file

@ -37,8 +37,6 @@
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/dma-mapping.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>