From: Frank Mori Hess <fmhess@speakeasy.net>
Date: Fri, 15 Feb 2002 23:08:44 +0000 (+0000)
Subject: added pci_enable_device() call
X-Git-Tag: r0_7_64~112
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d9927de91bf437be6016b44588e6b3c51428866;p=comedi.git

added pci_enable_device() call
---

diff --git a/comedi/drivers/icp_multi.h b/comedi/drivers/icp_multi.h
index dd1b95d5..d8c3afa6 100644
--- a/comedi/drivers/icp_multi.h
+++ b/comedi/drivers/icp_multi.h
@@ -151,6 +151,7 @@ int pci_card_alloc(struct pcilst_struct *inova)
 	if (!inova) return -1;
 
 	if (inova->used) return 1;
+	if(pci_enable_device(inova->pcidev)) return -1;
 	inova->used=1;
 	return 0;
 }