]> Git Repo - qemu.git/blobdiff - hw/nand.c
Make all static TypeInfos const
[qemu.git] / hw / nand.c
index 16950c5ec43f6cf465bf03454f701337b3f2234d..6054f4658109686a61832f71112ed0b03efabb36 100644 (file)
--- a/hw/nand.c
+++ b/hw/nand.c
@@ -435,7 +435,7 @@ static void nand_class_init(ObjectClass *klass, void *data)
     dc->props = nand_properties;
 }
 
-static TypeInfo nand_info = {
+static const TypeInfo nand_info = {
     .name          = "nand",
     .parent        = TYPE_SYS_BUS_DEVICE,
     .instance_size = sizeof(NANDFlashState),
This page took 0.023484 seconds and 4 git commands to generate.