mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
memory: constify memory_region_name
It doesn't change the MR and some prospective call sites will have const MRs at hand. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
83234bf2fa
commit
5d546d4b65
2 changed files with 2 additions and 2 deletions
|
@ -511,7 +511,7 @@ void memory_region_unregister_iommu_notifier(Notifier *n);
|
|||
*
|
||||
* @mr: the memory region being queried
|
||||
*/
|
||||
const char *memory_region_name(MemoryRegion *mr);
|
||||
const char *memory_region_name(const MemoryRegion *mr);
|
||||
|
||||
/**
|
||||
* memory_region_is_logging: return whether a memory region is logging writes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue