diff options
author | Joerg Roedel <jroedel@suse.de> | 2017-08-09 16:15:43 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-08-15 13:59:34 +0200 |
commit | 07eb6fdf4933336098c3e955961071e85d3dff9f (patch) | |
tree | 73ceda27f370c98d39bfc4905a3d690849278a2a /drivers/misc | |
parent | iommu/pamu: Make driver depend on CONFIG_PHYS_64BIT (diff) | |
download | linux-07eb6fdf4933336098c3e955961071e85d3dff9f.tar.xz linux-07eb6fdf4933336098c3e955961071e85d3dff9f.zip |
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/misc')
0 files changed, 0 insertions, 0 deletions