summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Gómez <magomez@igalia.com>2012-06-06 14:22:07 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-12 00:02:12 (GMT)
commitbf55b48371d1ca6ee64152753b359924e3cfcbcd (patch)
tree6c1fe7cb8c5d4c4efff1078bdbf31ab2f8ba0ee0
parent05e06036ddffd3e285bddc23e4ce55f54cd27537 (diff)
downloadlinux-fsl-qoriq-bf55b48371d1ca6ee64152753b359924e3cfcbcd.tar.xz
Staging: xgifb: disable pci device on pci remove function.
Signed-off-by: Miguel Gómez <magomez@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/xgifb/XGI_main_26.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 438781f..033463d 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -2297,6 +2297,7 @@ static void __devexit xgifb_remove(struct pci_dev *pdev)
iounmap(xgifb_info->video_vbase);
release_mem_region(xgifb_info->mmio_base, xgifb_info->mmio_size);
release_mem_region(xgifb_info->video_base, xgifb_info->video_size);
+ pci_disable_device(pdev);
framebuffer_release(fb_info);
pci_set_drvdata(pdev, NULL);
}