diff options
author | Claudiu Manoil <claudiu.manoil@nxp.com> | 2017-09-18 22:39:46 +0200 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2017-09-22 20:33:07 +0200 |
commit | e6b909fe84ba891cc523a65a6b6af07f4e977c5f (patch) | |
tree | fdb6c95854073151ff54c26b9ae86e594bace1d8 /drivers/soc | |
parent | soc/fsl/qbman: different register offsets on ARM (diff) | |
download | linux-e6b909fe84ba891cc523a65a6b6af07f4e977c5f.tar.xz linux-e6b909fe84ba891cc523a65a6b6af07f4e977c5f.zip |
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>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/fsl/qbman/dpaa_sys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/soc/fsl/qbman/dpaa_sys.h b/drivers/soc/fsl/qbman/dpaa_sys.h index 5a2c0af2489e..9f379000da85 100644 --- a/drivers/soc/fsl/qbman/dpaa_sys.h +++ b/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 |