aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/8250_gsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/8250_gsc.c')
-rw-r--r--drivers/serial/8250_gsc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/8250_gsc.c b/drivers/serial/8250_gsc.c
index 913c71cc056..1ebe6b585d2 100644
--- a/drivers/serial/8250_gsc.c
+++ b/drivers/serial/8250_gsc.c
@@ -64,6 +64,7 @@ serial_init_chip(struct parisc_device *dev)
err = serial8250_register_port(&port);
if (err < 0) {
printk(KERN_WARNING "serial8250_register_port returned error %d\n", err);
+ iounmap(port.membase);
return err;
}