Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:30 EST


ChangeSet 1.1380, 2003/06/09 16:21:33-07:00, greg@kroah.com

PCI: remove pci_present() from sound/oss/nec_vrc5477.c

 sound/oss/nec_vrc5477.c | 2 --
 1 files changed, 2 deletions(-)

diff -Nru a/sound/oss/nec_vrc5477.c b/sound/oss/nec_vrc5477.c
--- a/sound/oss/nec_vrc5477.c Tue Jun 10 11:17:06 2003
+++ b/sound/oss/nec_vrc5477.c Tue Jun 10 11:17:06 2003
@@ -2002,8 +2002,6 @@
 
 static int __init init_vrc5477_ac97(void)
 {
- if (!pci_present()) /* No PCI bus in this machine! */
- return -ENODEV;
         printk("Vrc5477 AC97 driver: version v0.2 time " __TIME__ " " __DATE__ " by Jun Sun\n");
         return pci_module_init(&vrc5477_ac97_driver);
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:25 EST