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>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user