diff options
author | Claudiu Manoil <claudiu.manoil@nxp.com> | 2016-11-16 17:40:21 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-11-23 10:23:44 +0300 |
commit | 0fbeac3b0f67a50d45e8a7d72ee3e0301ac7e9a9 (patch) | |
tree | d95578e2ba5a3a03bf8d84a0366e87392e3165cd /drivers/soc/fsl/qbman/qman_priv.h | |
parent | 57e68a5e23570ff3ab76772a974724c226fcee7d (diff) | |
download | linux-0fbeac3b0f67a50d45e8a7d72ee3e0301ac7e9a9.tar.xz |
soc/qman: Don't add a new platform device for dma mapping
The qman portals are platform devices themselves, so they should
handle dma mappings. Creating a dummy platform device in order to
support dma mapping operations is not justified (and not portable).
Instead, do the mapping against the first portal that has been
initialised.
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'drivers/soc/fsl/qbman/qman_priv.h')
-rw-r--r-- | drivers/soc/fsl/qbman/qman_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/fsl/qbman/qman_priv.h b/drivers/soc/fsl/qbman/qman_priv.h index 5cf821e623a9..59b4b463d884 100644 --- a/drivers/soc/fsl/qbman/qman_priv.h +++ b/drivers/soc/fsl/qbman/qman_priv.h @@ -367,5 +367,6 @@ int qman_alloc_fq_table(u32 num_fqids); #define QM_PIRQ_VISIBLE (QM_PIRQ_SLOW | QM_PIRQ_DQRI) extern struct qman_portal *affine_portals[NR_CPUS]; +extern struct qman_portal *qman_dma_portal; const struct qm_portal_config *qman_get_qm_portal_config( struct qman_portal *portal); |