aboutsummaryrefslogtreecommitdiff
path: root/pci-arbiter/func_files.h
diff options
context:
space:
mode:
Diffstat (limited to 'pci-arbiter/func_files.h')
-rw-r--r--pci-arbiter/func_files.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pci-arbiter/func_files.h b/pci-arbiter/func_files.h
index b65d2c57..03cafee1 100644
--- a/pci-arbiter/func_files.h
+++ b/pci-arbiter/func_files.h
@@ -23,6 +23,10 @@
#define FUNC_FILES_H
#include "pcifs.h"
+#include <pciaccess.h>
+
+typedef int (*pci_io_op_t) (struct pci_device *dev, void *data,
+ pciaddr_t reg, pciaddr_t width, pciaddr_t *bytes);
/* Config */
#define FILE_CONFIG_NAME "config"