Skip to contentSkip to conversation

staging: fsl-mc: add missing includes to fsl-mc-private.h

PATCH Superseded Stuart Yoder 1 participant 1 message Oct 17, 2016 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/14 staging: fsl-mc: add missing includes to fsl-mc-private.h

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.

---
 drivers/staging/fsl-mc/bus/fsl-mc-private.h | 3 +++
 1 file changed, 3 insertions(+)
drivers/staging/fsl-mc/bus/fsl-mc-private.h +3 -0
index d459c26..5c49c9d 100644
@@ -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,
Signature · 1 line
1.9.0