summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/fsl_pamu_domain.c
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2017-08-09 16:15:43 +0200
committerJoerg Roedel <jroedel@suse.de>2017-08-15 13:59:34 +0200
commit07eb6fdf4933336098c3e955961071e85d3dff9f (patch)
tree73ceda27f370c98d39bfc4905a3d690849278a2a /drivers/iommu/fsl_pamu_domain.c
parentaf29d9fa41b4b427830aea3911224aef6d61ee50 (diff)
downloadlinux-07eb6fdf4933336098c3e955961071e85d3dff9f.tar.bz2
iommu/pamu: WARN when fsl_pamu_probe() is called more than once
The function probes the PAMU hardware from device-tree specifications. It initializes global variables and can thus be only safely called once. Add a check that that prints a warning when its called more than once. Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/fsl_pamu_domain.c')
0 files changed, 0 insertions, 0 deletions