]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PCI hotplug: pcihp_zt5550.c ioremap/iounmap audit
authorLeann Ogasawara <ogasawara@osdl.org>
Thu, 29 Jan 2004 08:19:53 +0000 (00:19 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 29 Jan 2004 08:19:53 +0000 (00:19 -0800)
insert missing iounmap()

drivers/pci/hotplug/cpcihp_zt5550.c

index 41873730bbba2d1041d8315c21e28852de299302..2d7a988ad4f894e10c6573704663c5472c898643 100644 (file)
@@ -133,6 +133,8 @@ static int zt5550_hc_cleanup(void)
 {
        if(!hc_dev)
                return -ENODEV;
+
+       iounmap(hc_registers);
        release_mem_region(pci_resource_start(hc_dev, 1),
                           pci_resource_len(hc_dev, 1));
        return 0;