aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/sysdump/pci.c')
-rw-r--r--com32/sysdump/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/sysdump/pci.c b/com32/sysdump/pci.c
index 1d687279..7646a75d 100644
--- a/com32/sysdump/pci.c
+++ b/com32/sysdump/pci.c
@@ -7,9 +7,9 @@
#include <stdlib.h>
#include <sys/pci.h>
#include "sysdump.h"
-#include "backend.h"
+#include "../libupload/upload_backend.h"
-static void dump_pci_device(struct backend *be, pciaddr_t a, uint8_t hdrtype)
+static void dump_pci_device(struct upload_backend *be, pciaddr_t a, uint8_t hdrtype)
{
unsigned int bus = pci_bus(a);
unsigned int dev = pci_dev(a);
@@ -31,7 +31,7 @@ static void dump_pci_device(struct backend *be, pciaddr_t a, uint8_t hdrtype)
cpio_writefile(be, filename, data, sizeof data);
}
-void dump_pci(struct backend *be)
+void dump_pci(struct upload_backend *be)
{
int cfgtype;
unsigned int nbus, ndev, nfunc, maxfunc;