aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/pseries/iommu.c')
-rw-r--r--arch/powerpc/platforms/pseries/iommu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c
index e32e00976a94..3e5bfdafee63 100644
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -1251,10 +1251,11 @@ static struct notifier_block iommu_mem_nb = {
1251 .notifier_call = iommu_mem_notifier, 1251 .notifier_call = iommu_mem_notifier,
1252}; 1252};
1253 1253
1254static int iommu_reconfig_notifier(struct notifier_block *nb, unsigned long action, void *node) 1254static int iommu_reconfig_notifier(struct notifier_block *nb, unsigned long action, void *data)
1255{ 1255{
1256 int err = NOTIFY_OK; 1256 int err = NOTIFY_OK;
1257 struct device_node *np = node; 1257 struct of_reconfig_data *rd = data;
1258 struct device_node *np = rd->dn;
1258 struct pci_dn *pci = PCI_DN(np); 1259 struct pci_dn *pci = PCI_DN(np);
1259 struct direct_window *window; 1260 struct direct_window *window;
1260 1261