m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/char.h
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-05-04 21:06:13 +0200
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-05-04 21:06:13 +0200
commit66d048ece86d238c0712a0a205479ce8842f3053 (patch)
treeb2304c35b16ec0295f85c68c2c4e87cab2d92e49 /char.h
parent2eaa35293d31075348fe606bef5a58885d8e09a9 (diff)
Perform basic PCI initialization
Diffstat (limited to 'char.h')
-rw-r--r--char.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/char.h b/char.h
index 31e82a2..a708023 100644
--- a/char.h
+++ b/char.h
@@ -3,8 +3,10 @@
#include <linux/pci.h>
+#include "pci.h"
+
int new_doomdev(struct pci_dev *dev);
-void destroy_doomdev(struct pci_dev *dev);
+void destroy_doomdev(struct doom_data *doom_data);
int char_init(void);
void char_cleanup(void);