[PATCH 3/4] iommu/pamu: WARN when fsl_pamu_probe() is called more than once

2017-08-09 Thread Joerg Roedel
From: Joerg Roedel 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

[PATCH 3/4] iommu/pamu: WARN when fsl_pamu_probe() is called more than once

2017-08-09 Thread Joerg Roedel
From: Joerg Roedel 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 --- drivers/iommu/fsl_pamu.c |