diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-05-04 17:47:41 +0200 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-05-04 17:47:41 +0200 |
commit | 92ea475ae6afe103cd5b2e68fdc84f02e3aa1657 (patch) | |
tree | 3e92c2d9ba0ba1a0f6e226bbd480f4c4656b294b /pci.h | |
parent | 77c090b85d2dc085dce3712d4a5faf8452531d58 (diff) |
Fix cdev creation and destruction
Diffstat (limited to 'pci.h')
-rw-r--r-- | pci.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |