diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index b43ac9b8ae489968aaeed8f6600c33f8dcec7c48..67763d3c7abfa7ceb559351798f53bb3a3584401 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -723,7 +723,7 @@ static void vm_unregister_cmdline_devices(void) /* Platform driver */ -static struct of_device_id virtio_mmio_match[] = { +static const struct of_device_id virtio_mmio_match[] = { { .compatible = "virtio,mmio", }, {}, };