From b32c22bf31dcf13076b6bc1fa9ba51965d038b2d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 13 Dec 2024 16:31:13 +0000 Subject: hw/nvme: Constify all Property MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- hw/nvme/subsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/nvme/subsys.c') diff --git a/hw/nvme/subsys.c b/hw/nvme/subsys.c index 77deaf2c2c..3171c3888c 100644 --- a/hw/nvme/subsys.c +++ b/hw/nvme/subsys.c @@ -216,7 +216,7 @@ static void nvme_subsys_realize(DeviceState *dev, Error **errp) nvme_subsys_setup(subsys, errp); } -static Property nvme_subsystem_props[] = { +static const Property nvme_subsystem_props[] = { DEFINE_PROP_STRING("nqn", NvmeSubsystem, params.nqn), DEFINE_PROP_BOOL("fdp", NvmeSubsystem, params.fdp.enabled, false), DEFINE_PROP_SIZE("fdp.runs", NvmeSubsystem, params.fdp.runs, -- cgit 1.4.1