m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'pci.h')
-rw-r--r--pci.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/pci.h b/pci.h
index 04c48f2..9e8d07f 100644
--- a/pci.h
+++ b/pci.h
@@ -1,8 +1,11 @@
#ifndef PCI_H
#define PCI_H
+#include <linux/device.h>
+
struct doom_data {
- int minor;
+ struct cdev *cdev;
+ struct device *device;
};
int pci_init(void);