Signed-off-by: Niklas Söderlund niso@kth.se --- hwaccess.c | 3 ++- programmer.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/hwaccess.c b/hwaccess.c index 5ac50a9..484963e 100644 --- a/hwaccess.c +++ b/hwaccess.c @@ -278,9 +278,10 @@ int rmmio_le_writel(uint32_t val, void *addr) return 0; }
-void rmmio_valb(void *addr) +int rmmio_valb(void *addr) { register_undo_mmio_writeb(addr); + return 0; }
void rmmio_valw(void *addr) diff --git a/programmer.h b/programmer.h index 3cfcf65..ee7e9bd 100644 --- a/programmer.h +++ b/programmer.h @@ -356,7 +356,7 @@ int rmmio_le_writel(uint32_t val, void *addr); #define pci_rmmio_writeb rmmio_le_writeb #define pci_rmmio_writew rmmio_le_writew #define pci_rmmio_writel rmmio_le_writel -void rmmio_valb(void *addr); +int rmmio_valb(void *addr); void rmmio_valw(void *addr); void rmmio_vall(void *addr);