mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw/ufs: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
3885fa1591
commit
35d71fd9ce
2 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ static UfsReqResult ufs_process_scsi_cmd(UfsLu *lu, UfsRequest *req)
|
||||||
return UFS_REQUEST_NO_COMPLETE;
|
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_DRIVE("drive", UfsLu, conf.blk),
|
||||||
DEFINE_PROP_UINT8("lun", UfsLu, lun, 0),
|
DEFINE_PROP_UINT8("lun", UfsLu, lun, 0),
|
||||||
DEFINE_PROP_END_OF_LIST(),
|
DEFINE_PROP_END_OF_LIST(),
|
||||||
|
|
|
@ -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_STRING("serial", UfsHc, params.serial),
|
||||||
DEFINE_PROP_UINT8("nutrs", UfsHc, params.nutrs, 32),
|
DEFINE_PROP_UINT8("nutrs", UfsHc, params.nutrs, 32),
|
||||||
DEFINE_PROP_UINT8("nutmrs", UfsHc, params.nutmrs, 8),
|
DEFINE_PROP_UINT8("nutmrs", UfsHc, params.nutmrs, 8),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue