soc/qman: test: Don't use dummy platform device for dma mapping
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:22 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:44 +0000 (01:23 -0600)
commit021ba010663146305b0ba51246a41223d38943af
tree833d0cef2390a3b49939cfc3466077819c38f784
parent0fbeac3b0f67a50d45e8a7d72ee3e0301ac7e9a9
soc/qman: test: Don't use dummy platform device for dma mapping

Replace dummy platform device hack with a reference to a portal's
platform device, in order to dma map the test frame for this
small unit test.  The 2 qman symbols need to be exported because
this self test is a kernel module.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman.c
drivers/soc/fsl/qbman/qman_portal.c
drivers/soc/fsl/qbman/qman_test_stash.c