]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: fsl-mc: add missing includes to fsl-mc-private.h
authorStuart Yoder <stuart.yoder@nxp.com>
Mon, 17 Oct 2016 18:42:28 +0000 (13:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 07:48:55 +0000 (09:48 +0200)
fsl-mc-private.h references several definitions that it does not explicitly
have includes for. Up until now we've gotten lucky due to include ordering
that things compile.  Add the missing includes.

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/fsl-mc-private.h

index d459c2673f39690f9013778faa6514d7aedd7a6e..5c49c9d2df6ac914cda929cd48df7000d1c8440a 100644 (file)
@@ -10,6 +10,9 @@
 #ifndef _FSL_MC_PRIVATE_H_
 #define _FSL_MC_PRIVATE_H_
 
+#include "../include/mc.h"
+#include "../include/mc-bus.h"
+
 int __must_check fsl_mc_device_add(struct dprc_obj_desc *obj_desc,
                                   struct fsl_mc_io *mc_io,
                                   struct device *parent_dev,