This corrects a djgpp build error, seen with r1232 and later.
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Index: pcidev.c
===================================================================
--- pcidev.c (revision 1246)
+++ pcidev.c (working copy)
@@ -207,7 +207,7 @@
return pci_write_word(dev, reg, data);
}
-int rpci_write_long(struct pci_dev *dev, int reg, uint32_t data)
+int rpci_write_long(struct pci_dev *dev, int reg, u32 data)
{
register_undo_pci_write_long(dev, reg);
return pci_write_long(dev, reg, data);
---
pcidev.c:210: error: conflicting types for 'rpci_write_long'
programmer.h:226: error: previous declaration of 'rpci_write_long' was here
make[1]: *** [pcidev.o] Error 1