mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 07:53:44 +02:00
Compilation fix for djgpp
This corrects a djgpp build error, seen with r1232 and later. pcidev.c:210: error: conflicting types for 'rpci_write_long' programmer.h:226: error: previous declaration of 'rpci_write_long' was here Corresponding to flashrom svn r1249. Signed-off-by: Idwer Vollering <vidwer@gmail.com> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
This commit is contained in:
parent
ecc67072b6
commit
1a6162ed8d
@ -221,9 +221,9 @@ uint32_t pcidev_init(uint16_t vendor_id, uint32_t bar, const struct pcidev_statu
|
|||||||
/* rpci_write_* are reversible writes. The original PCI config space register
|
/* rpci_write_* are reversible writes. The original PCI config space register
|
||||||
* contents will be restored on shutdown.
|
* contents will be restored on shutdown.
|
||||||
*/
|
*/
|
||||||
int rpci_write_byte(struct pci_dev *dev, int reg, u8 data);
|
int rpci_write_byte(struct pci_dev *dev, int reg, uint8_t data);
|
||||||
int rpci_write_word(struct pci_dev *dev, int reg, u16 data);
|
int rpci_write_word(struct pci_dev *dev, int reg, uint16_t data);
|
||||||
int rpci_write_long(struct pci_dev *dev, int reg, u32 data);
|
int rpci_write_long(struct pci_dev *dev, int reg, uint32_t data);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* print.c */
|
/* print.c */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user