2001-07-03 10:17:53

by Jeff Garzik

[permalink] [raw]
Subject: PATCH 2.4.6.9: pci_set_power_state stub defined twice

Index: include/linux/pci.h
===================================================================
RCS file: /cvsroot/gkernel/linux_2_4/include/linux/pci.h,v
retrieving revision 1.2
diff -u -r1.2 pci.h
--- include/linux/pci.h 2001/07/02 13:39:28 1.2
+++ include/linux/pci.h 2001/07/03 10:15:32
@@ -642,7 +642,6 @@
static inline void pci_disable_device(struct pci_dev *dev) { }
static inline int pci_module_init(struct pci_driver *drv) { return -ENODEV; }
static inline int pci_set_dma_mask(struct pci_dev *dev, dma_addr_t mask) { return -EIO; }
-static inline int pci_set_power_state(struct pci_dev *dev, int state) { return 0; }
static inline int pci_assign_resource(struct pci_dev *dev, int i) { return -EBUSY;}
static inline int pci_register_driver(struct pci_driver *drv) { return 0;}
static inline void pci_unregister_driver(struct pci_driver *drv) { }


Attachments:
pci.patch (860.00 B)