]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/nand.c
Fix undeclared symbol warnings from sparse
[thirdparty/qemu.git] / hw / nand.c
index 294a83f85f0c8238f4e9746b664bb7c1ddbae40d..11f8efca282f73c296c3663a91e661b913ddc223 100644 (file)
--- a/hw/nand.c
+++ b/hw/nand.c
@@ -106,7 +106,7 @@ struct nand_flash_s {
 # include "nand.c"
 
 /* Information based on Linux drivers/mtd/nand/nand_ids.c */
-struct nand_info_s {
+static const struct nand_info_s {
     int size;
     int width;
     int page_shift;