Nipun Gupta 2a6db719c9 iommu/of: make of_pci_map_rid() available for other devices too
iommu-map property is also used by devices with fsl-mc. This
patch moves the of_pci_map_rid to generic location, so that it
can be used by other busses too.

'of_pci_map_rid' is renamed here to 'of_map_rid' and there is no
functional change done in the API.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2018-09-25 09:47:52 +02:00
..
2018-08-24 13:10:38 -07:00
2018-08-24 13:10:38 -07:00
2018-08-24 13:10:38 -07:00
2018-07-06 13:26:10 +02:00
2018-08-24 13:10:38 -07:00
2017-08-23 16:28:09 +02:00
2018-08-24 13:10:38 -07:00
2018-08-24 13:10:38 -07:00
2018-08-08 11:06:20 +02:00
2018-08-24 13:10:38 -07:00
2018-08-24 13:10:38 -07:00
2018-08-24 13:10:38 -07:00
2018-08-25 14:12:36 -07:00