[SPARC64]: Fix of_iounmap() region release.
[powerpc.git] / arch / sparc / kernel / ioport.c
index 00a3976..987ec67 100644 (file)
@@ -153,7 +153,7 @@ void __iomem *of_ioremap(struct resource *res, unsigned long offset,
 }
 EXPORT_SYMBOL(of_ioremap);
 
-void of_iounmap(void __iomem *base, unsigned long size)
+void of_iounmap(struct resource *res, void __iomem *base, unsigned long size)
 {
        iounmap(base);
 }