diff options
author | Madalin Bucur <madalin.bucur@nxp.com> | 2016-11-16 17:40:15 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-11-23 10:23:39 +0300 |
commit | 2f28d218d4b82e0eb5c437f25004a4d36e32ab35 (patch) | |
tree | 43d557acf968b1f6939e358a73d821d4f9c8fa52 /drivers/soc/fsl/qbman/dpaa_sys.h | |
parent | 02b7d2a833b007bae45be8d4adbae0f2a43d8dc4 (diff) | |
download | linux-2f28d218d4b82e0eb5c437f25004a4d36e32ab35.tar.xz |
soc/qman: Replace of_get_property() with portable equivalent
Use arch portable of_property_read_u32() instead, which takes
care of endianness conversions.
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'drivers/soc/fsl/qbman/dpaa_sys.h')
-rw-r--r-- | drivers/soc/fsl/qbman/dpaa_sys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/fsl/qbman/dpaa_sys.h b/drivers/soc/fsl/qbman/dpaa_sys.h index b63fd72295c6..2eaf3184f61d 100644 --- a/drivers/soc/fsl/qbman/dpaa_sys.h +++ b/drivers/soc/fsl/qbman/dpaa_sys.h @@ -38,6 +38,7 @@ #include <linux/kthread.h> #include <linux/vmalloc.h> #include <linux/platform_device.h> +#include <linux/of.h> #include <linux/of_reserved_mem.h> #include <linux/prefetch.h> #include <linux/genalloc.h> |