aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/virtio/random/virtio_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/virtio/random/virtio_random.c')
-rw-r--r--sys/dev/virtio/random/virtio_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/virtio/random/virtio_random.c b/sys/dev/virtio/random/virtio_random.c
index f938ba99ae53..3f30c8b68f4c 100644
--- a/sys/dev/virtio/random/virtio_random.c
+++ b/sys/dev/virtio/random/virtio_random.c
@@ -77,7 +77,7 @@ static struct virtio_feature_desc vtrnd_feature_desc[] = {
{ 0, NULL }
};
-static struct random_source random_vtrnd = {
+static const struct random_source random_vtrnd = {
.rs_ident = "VirtIO Entropy Adapter",
.rs_source = RANDOM_PURE_VIRTIO,
.rs_read = vtrnd_read,