staging: dgap: adds missing iounmap for re_map_port in dgap_release_remap()
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 23 Sep 2014 00:22:08 +0000 (09:22 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:39:25 +0000 (23:39 -0700)
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c

index 779d1443cb01e5b843e61b044edf0f35540e8331..637ea8af661f5d92798add894001e15eb33b0adf 100644 (file)
@@ -1026,6 +1026,7 @@ static void dgap_release_remap(struct board_t *brd)
        release_mem_region(brd->membase, 0x200000);
        release_mem_region(brd->membase + PCI_IO_OFFSET, 0x200000);
        iounmap(brd->re_map_membase);
+       iounmap(brd->re_map_port);
 }
 /*****************************************************************************
 *