Browse Source

soc/fsl/qbman: Add missing headers on ARM

Unlike PPC builds, ARM builds need following headers
explicitly:
+#include <linux/io.h>		for ioread32be()
+#include <linux/delay.h>		for udelay()

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Claudiu Manoil 8 years ago
parent
commit
e6b909fe84
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/soc/fsl/qbman/dpaa_sys.h

+ 2 - 0
drivers/soc/fsl/qbman/dpaa_sys.h

@@ -44,6 +44,8 @@
 #include <linux/prefetch.h>
 #include <linux/genalloc.h>
 #include <asm/cacheflush.h>
+#include <linux/io.h>
+#include <linux/delay.h>
 
 /* For 2-element tables related to cache-inhibited and cache-enabled mappings */
 #define DPAA_PORTAL_CE 0