summaryrefslogtreecommitdiff
path: root/src/device/mmio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/mmio.c')
-rw-r--r--src/device/mmio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/mmio.c b/src/device/mmio.c
index 8b08b9b2a4..de8c8d3955 100644
--- a/src/device/mmio.c
+++ b/src/device/mmio.c
@@ -21,10 +21,10 @@ void buffer_from_fifo32(void *buffer, size_t size, void *fifo,
}
}
-void buffer_to_fifo32_prefix(void *buffer, u32 prefix, int prefsz, size_t size,
+void buffer_to_fifo32_prefix(const void *buffer, u32 prefix, int prefsz, size_t size,
void *fifo, int fifo_stride, int fifo_width)
{
- u8 *p = buffer;
+ const u8 *p = buffer;
int i, j = prefsz;
assert(fifo_width > 0 && fifo_width <= sizeof(u32) &&