diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index ad843eb02ae7be21ae7470c6cc840a30a3f6e272..06bd6351e3357af9e75fe7f2feb9ce9898eff10d 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -1308,7 +1308,7 @@ static struct attribute *port_sysfs_entries[] = { NULL }; -static struct attribute_group port_attribute_group = { +static const struct attribute_group port_attribute_group = { .name = NULL, /* put in device directory */ .attrs = port_sysfs_entries, };