summaryrefslogtreecommitdiffstats
path: root/driver/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/base.h')
-rw-r--r--driver/base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/base.h b/driver/base.h
index b976d3f..5b977fa 100644
--- a/driver/base.h
+++ b/driver/base.h
@@ -17,7 +17,9 @@ int pcidriver_open(struct inode *inode, struct file *filp );
int pcidriver_release(struct inode *inode, struct file *filp);
/* prototypes for device operations */
+#ifndef PCIDRIVER_DUMMY_DEVICE
static struct pci_driver pcidriver_driver;
+#endif /* ! PCIDRIVER_DUMMY_DEVICE */
static int __devinit pcidriver_probe(struct pci_dev *pdev, const struct pci_device_id *id);
static void __devexit pcidriver_remove(struct pci_dev *pdev);