From 92ea475ae6afe103cd5b2e68fdc84f02e3aa1657 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Fri, 4 May 2018 17:47:41 +0200 Subject: Fix cdev creation and destruction --- pci.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pci.h') 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 + struct doom_data { - int minor; + struct cdev *cdev; + struct device *device; }; int pci_init(void); -- cgit v1.2.3