Commit 5143ecf6 authored by Stuart Yoder's avatar Stuart Yoder Committed by Greg Kroah-Hartman

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: default avatarStuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f59f4c7
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include <linux/limits.h> #include <linux/limits.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/msi.h> #include <linux/msi.h>
#include <linux/dma-mapping.h>
#include "../include/dpmng.h" #include "../include/dpmng.h"
#include "../include/mc-sys.h" #include "../include/mc-sys.h"
#include "fsl-mc-private.h" #include "fsl-mc-private.h"
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#include "../include/mc-bus.h" #include "../include/mc-bus.h"
#include "../include/mc-sys.h" #include "../include/mc-sys.h"
#include <linux/io.h>
#include "fsl-mc-private.h" #include "fsl-mc-private.h"
#include "dpmcp.h" #include "dpmcp.h"
#include "dpmcp-cmd.h" #include "dpmcp-cmd.h"
......
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/io.h>
#include "dpmcp.h" #include "dpmcp.h"
/** /**
......
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h>
#include <linux/dma-mapping.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment