projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05e0603
)
Staging: xgifb: disable pci device on pci remove function.
author
Miguel Gómez
<magomez@igalia.com>
Wed, 6 Jun 2012 14:22:07 +0000
(16:22 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 00:02:12 +0000
(17:02 -0700)
Signed-off-by: Miguel Gómez <magomez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/XGI_main_26.c
patch
|
blob
|
history
diff --git
a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index 438781ff33a32ead14f560ec0149db6646b002e1..033463d1966c052f684da9fae64bc90835804378 100644
(file)
--- 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);
}