]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/tty/goldfish.c
tty: goldfish: Fix a parameter of a call to free_irq
[karo-tx-linux.git] / drivers / tty / goldfish.c
index 3fc912373adf236c6d7a4060608ccc8c78617fd5..996bd473dd03ea6f211f2338d8f95161e5f1da33 100644 (file)
@@ -300,7 +300,7 @@ static int goldfish_tty_probe(struct platform_device *pdev)
        return 0;
 
 err_tty_register_device_failed:
-       free_irq(irq, pdev);
+       free_irq(irq, qtty);
 err_request_irq_failed:
        goldfish_tty_current_line_count--;
        if (goldfish_tty_current_line_count == 0)