diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-30 03:17:16 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-30 03:25:56 +0200 |
commit | d345d97012c3f8fb72c0c9d2ee319ea958b63229 (patch) | |
tree | 534f39357cb21e4438627804889716e3224a207f /drivers/input/gameport/emu10k1-gp.c | |
parent | Input: emu10k1-gp - add missing calls to pci_disable_device() (diff) | |
download | linux-d345d97012c3f8fb72c0c9d2ee319ea958b63229.tar.xz linux-d345d97012c3f8fb72c0c9d2ee319ea958b63229.zip |
Input: fm801-gp - add missing call to pci_disable_device()
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/gameport/emu10k1-gp.c')
-rw-r--r-- | drivers/input/gameport/emu10k1-gp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/gameport/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c index 34615d40528a..f85620590b66 100644 --- a/drivers/input/gameport/emu10k1-gp.c +++ b/drivers/input/gameport/emu10k1-gp.c @@ -106,8 +106,9 @@ static void __devexit emu_remove(struct pci_dev *pdev) gameport_unregister_port(emu->gameport); release_region(emu->io, emu->size); - pci_disable_device(pdev); kfree(emu); + + pci_disable_device(pdev); } static struct pci_driver emu_driver = { |