summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux
diff options
context:
space:
mode:
authorPeter Maydell2017-07-07 16:42:54 +0200
committerPeter Maydell2017-07-14 18:59:42 +0200
commitbba3ddf72e75e0a0067aff2af424a5fd27004883 (patch)
tree2fe724ec2eb4932da5c0ebd7eb509f13d20d12d8 /linux-headers/linux
parenthw: Use new memory_region_init_{ram, rom, rom_device}() functions (diff)
downloadqemu-bba3ddf72e75e0a0067aff2af424a5fd27004883.tar.gz
qemu-bba3ddf72e75e0a0067aff2af424a5fd27004883.tar.xz
qemu-bba3ddf72e75e0a0067aff2af424a5fd27004883.zip
hw/block/pflash_cfi01, pflash_cfi02: Use memory_region_init_rom_device()
Since we pass the same DeviceState object to memory_region_init_rom_device_nomigrate() and vmstate_register_ram(), we can switch to using memory_region_init_rom_device() instead. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1499438577-7674-9-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions