patch-2.3.99-pre1 linux/include/linux/pci.h

Next file: linux/include/linux/personality.h
Previous file: linux/include/linux/ntfs_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.51/linux/include/linux/pci.h linux/include/linux/pci.h
@@ -577,6 +577,9 @@
 extern inline void pci_set_master(struct pci_dev *dev) { }
 extern inline int pci_enable_device(struct pci_dev *dev) { return -EIO; }
 extern inline int pci_module_init(struct pci_driver *drv) { return -ENODEV; }
+extern inline int pci_assign_resource(struct pci_dev *dev, int i) { return -EBUSY;}
+extern inline int pci_register_driver(struct pci_driver *) { return 0;}
+extern inline void pci_unregister_driver(struct pci_driver *) { }
 
 #else
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)