pci_present() gone in 2.6
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 4 Aug 2003 18:47:18 +0000 (18:47 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 4 Aug 2003 18:47:18 +0000 (18:47 +0000)
comedi/drivers/dt3000.c

index b04bea83f2cad233fdf23ff5fb2e590ebd673932..7a9044d444315ace08295a3b55a1bb4f74ec202c 100644 (file)
@@ -758,10 +758,6 @@ static int dt3000_attach(comedi_device *dev,comedi_devconfig *it)
        int ret=0;
        
        printk("dt3000:");
-       if(!pci_present()){
-               printk(" no PCI bus\n");
-               return -EINVAL;
-       }
        
        if((ret=alloc_private(dev,sizeof(dt3k_private)))<0)
                return ret;