qemu/hw/mips
Markus Armbruster 1643406520 pflash: Rename pflash_t to PFlashCFI01, PFlashCFI02
flash.h's incomplete struct pflash_t is completed both in
pflash_cfi01.c and in pflash_cfi02.c.  The complete types are
incompatible.  This can hide type errors, such as passing a pflash_t
created with pflash_cfi02_register() to pflash_cfi01_get_memory().

Furthermore, POSIX reserves typedef names ending with _t.

Rename the two structs to PFlashCFI01 and PFlashCFI02.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190308094610.21210-2-armbru@redhat.com>
2019-03-11 22:53:44 +01:00
..
addr.c mips: Add KVM T&E segment support for TCG 2017-08-02 22:18:06 +01:00
boston.c char: allow specifying a GMainContext at opening time 2019-02-13 14:23:39 +01:00
cps.c target/mips: Update ITU to utilize SAARI and SAAR CP0 registers 2019-01-18 16:53:28 +01:00
gt64xxx_pci.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
Kconfig ptimer: express dependencies with Kconfig 2019-03-07 21:45:53 +01:00
Makefile.objs hw/mips/Makefile.objs: Create CONFIG_* for r4k, malta, mipssim boards 2019-02-05 16:50:19 +01:00
mips_fulong2e.c mips_fulong2e: Add on-board graphics chip 2019-03-11 08:04:55 +01:00
mips_int.c hw/mips_int: hold BQL for all interrupt requests 2019-02-14 17:47:28 +01:00
mips_jazz.c hw/mips/jazz: create ESP device directly via qdev 2018-06-28 19:05:35 +02:00
mips_malta.c pflash: Rename pflash_t to PFlashCFI01, PFlashCFI02 2019-03-11 22:53:44 +01:00
mips_mipssim.c elf: Add optional function ptr to load_elf() to parse ELF notes 2019-02-05 16:50:16 +01:00
mips_r4k.c elf: Add optional function ptr to load_elf() to parse ELF notes 2019-02-05 16:50:16 +01:00