[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 63/71] hw/ufs: Constify all Property
From: |
Richard Henderson |
Subject: |
[PATCH 63/71] hw/ufs: Constify all Property |
Date: |
Fri, 13 Dec 2024 13:29:57 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/ufs/lu.c | 2 +-
hw/ufs/ufs.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ufs/lu.c b/hw/ufs/lu.c
index 81bfff9b4e..74ff52ad09 100644
--- a/hw/ufs/lu.c
+++ b/hw/ufs/lu.c
@@ -274,7 +274,7 @@ static UfsReqResult ufs_process_scsi_cmd(UfsLu *lu,
UfsRequest *req)
return UFS_REQUEST_NO_COMPLETE;
}
-static Property ufs_lu_props[] = {
+static const Property ufs_lu_props[] = {
DEFINE_PROP_DRIVE("drive", UfsLu, conf.blk),
DEFINE_PROP_UINT8("lun", UfsLu, lun, 0),
DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/ufs/ufs.c b/hw/ufs/ufs.c
index 79f786ed4e..fe77158439 100644
--- a/hw/ufs/ufs.c
+++ b/hw/ufs/ufs.c
@@ -1752,7 +1752,7 @@ static void ufs_exit(PCIDevice *pci_dev)
}
}
-static Property ufs_props[] = {
+static const Property ufs_props[] = {
DEFINE_PROP_STRING("serial", UfsHc, params.serial),
DEFINE_PROP_UINT8("nutrs", UfsHc, params.nutrs, 32),
DEFINE_PROP_UINT8("nutmrs", UfsHc, params.nutmrs, 8),
--
2.43.0
- [PATCH 57/71] hw/sparc: Constify all Property, (continued)
- [PATCH 57/71] hw/sparc: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 58/71] hw/sparc64: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 61/71] hw/tpm: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 62/71] hw/tricore: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 63/71] hw/ufs: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 03/71] target/hexagon: Constify all Property, Richard Henderson, 2024/12/13
- [PULL 2/4] tcg/riscv: Fix StoreStore barrier generation, Richard Henderson, 2024/12/13
- [PATCH 63/71] hw/ufs: Constify all Property,
Richard Henderson <=
- [PATCH 64/71] hw/usb: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 66/71] hw/virtio: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 65/71] hw/vfio: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 68/71] hw/xen: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 67/71] hw/watchdog: Constify all Property, Richard Henderson, 2024/12/13