summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2018-12-10 17:50:18 +0100
committerLi Yang <leoyang.li@nxp.com>2019-01-11 22:06:54 +0100
commitcf9ff75d15a9bbd625519997c2ca864d1fa80227 (patch)
tree81604ab0c01c2856e137ddde6c5b7d0098bb60e7 /include/soc
parentsoc: fsl: dpio: keep a per dpio device MC portal (diff)
downloadlinux-cf9ff75d15a9bbd625519997c2ca864d1fa80227.tar.xz
linux-cf9ff75d15a9bbd625519997c2ca864d1fa80227.zip
soc: fsl: dpio: store a backpointer to the device backing the dpaa2_io
Add a new field in the dpaa2_io structure to hold a backpointer to the actual DPIO device. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/fsl/dpaa2-io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/soc/fsl/dpaa2-io.h b/include/soc/fsl/dpaa2-io.h
index 243119c53cdf..e252066d1f43 100644
--- a/include/soc/fsl/dpaa2-io.h
+++ b/include/soc/fsl/dpaa2-io.h
@@ -57,7 +57,8 @@ struct dpaa2_io_desc {
u32 qman_version;
};
-struct dpaa2_io *dpaa2_io_create(const struct dpaa2_io_desc *desc);
+struct dpaa2_io *dpaa2_io_create(const struct dpaa2_io_desc *desc,
+ struct device *dev);
void dpaa2_io_down(struct dpaa2_io *d);