fix compat for pci_enable_device
authorDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 04:29:03 +0000 (04:29 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 04:29:03 +0000 (04:29 +0000)
include/linux/pci.h

index 6584919b9adae2a41327c4b4776fc5169286d1fa..1a0d4a9af9374e55a349a1f5e1643d0e651c9b8c 100644 (file)
@@ -20,7 +20,7 @@
 #define pci_for_each_dev(x)    \
        for((x)=pci_devices;(x);(x)=(x)->next)
 
-#define pci_enable_device(x) 0
+static inline int pci_enable_device(struct pci_dev *dev){return 0;}
 #define pci_disable_device(x)
 
 #define PCI_ANY_ID (~0)