]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/serial/jsm/jsm_driver.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[mv-sheeva.git] / drivers / serial / jsm / jsm_driver.c
index 108c3e0471fd523ab849d7ebc58d702c0b3ac1d4..eaf545014119cda24fe4a115e5b3c3a7ffe9b9e4 100644 (file)
@@ -26,6 +26,7 @@
  ***********************************************************************/
 #include <linux/moduleparam.h>
 #include <linux/pci.h>
+#include <linux/slab.h>
 
 #include "jsm.h"
 
@@ -179,6 +180,7 @@ static int __devinit jsm_probe_one(struct pci_dev *pdev, const struct pci_device
 
        return 0;
  out_free_irq:
+       jsm_remove_uart_port(brd);
        free_irq(brd->irq, brd);
  out_iounmap:
        iounmap(brd->re_map_membase);