m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/char.h
diff options
context:
space:
mode:
Diffstat (limited to 'char.h')
-rw-r--r--char.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/char.h b/char.h
index 503ba04..31e82a2 100644
--- a/char.h
+++ b/char.h
@@ -1,8 +1,10 @@
#ifndef CHAR_H
#define CHAR_H
-int new_doomdev(void);
-void destroy_doomdev(void);
+#include <linux/pci.h>
+
+int new_doomdev(struct pci_dev *dev);
+void destroy_doomdev(struct pci_dev *dev);
int char_init(void);
void char_cleanup(void);