diff options
author | Philippe Mathieu-Daudé | 2020-10-12 14:49:53 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-12-10 18:15:03 +0100 |
commit | 5ade579ba9ae81adcb36b0ff185ce13cc560ed01 (patch) | |
tree | 5f05e2c7f32e641ff1f5f86816b616d3586d4b81 /include/hw | |
parent | pci: Let pci_dma_write() propagate MemTxResult (diff) | |
download | qemu-5ade579ba9ae81adcb36b0ff185ce13cc560ed01.tar.gz qemu-5ade579ba9ae81adcb36b0ff185ce13cc560ed01.tar.xz qemu-5ade579ba9ae81adcb36b0ff185ce13cc560ed01.zip |
hw/ssi/aspeed_smc: Rename 'max_slaves' variable as 'max_peripherals'
In order to use inclusive terminology, rename max_slaves
as max_peripherals.
Patch generated using:
$ sed -i s/slave/peripheral/ \
hw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h
One line in aspeed_smc_read() has been manually tweaked
to pass checkpatch.
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201012124955.3409127-2-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ssi/aspeed_smc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ssi/aspeed_smc.h b/include/hw/ssi/aspeed_smc.h index 3dd354b52e..16c03fe64f 100644 --- a/include/hw/ssi/aspeed_smc.h +++ b/include/hw/ssi/aspeed_smc.h @@ -43,7 +43,7 @@ typedef struct AspeedSMCController { uint8_t r_timings; uint8_t nregs_timings; uint8_t conf_enable_w0; - uint8_t max_slaves; + uint8_t max_peripherals; const AspeedSegments *segments; hwaddr flash_window_base; uint32_t flash_window_size; |