summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/chipsfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/chipsfb.c')
-rw-r--r--drivers/video/fbdev/chipsfb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/chipsfb.c b/drivers/video/fbdev/chipsfb.c
index 393894af26f8..2b00a9d554fc 100644
--- a/drivers/video/fbdev/chipsfb.c
+++ b/drivers/video/fbdev/chipsfb.c
@@ -430,6 +430,7 @@ static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)
err_release_fb:
framebuffer_release(p);
err_disable:
+ pci_disable_device(dp);
err_out:
return rc;
}