]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
soc/fsl/qbman: Add missing headers on ARM
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Mon, 18 Sep 2017 20:39:46 +0000 (16:39 -0400)
committerLi Yang <leoyang.li@nxp.com>
Fri, 22 Sep 2017 18:33:07 +0000 (13:33 -0500)
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>
drivers/soc/fsl/qbman/dpaa_sys.h

index 5a2c0af2489e82d4940a49cb9086ec1176073054..9f379000da85aa1dc23bbc48ed7775ce0939c14b 100644 (file)
@@ -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