Add missing const after 6c4f95161d

I accidentally didn't include hunk in the committed patch.

Fixes:		6c4f95161d ("virtio: make the write_config buffer argument const")
This commit is contained in:
Alex Richardson 2021-10-11 13:20:36 +01:00
parent a89410ef91
commit 9017870541

View File

@ -741,7 +741,7 @@ vtmmio_write_dev_config(device_t dev, bus_size_t offset,
{ {
struct vtmmio_softc *sc; struct vtmmio_softc *sc;
bus_size_t off; bus_size_t off;
uint8_t *s; const uint8_t *s;
int size; int size;
sc = device_get_softc(dev); sc = device_get_softc(dev);