mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
sifive: Use DECLARE_*CHECKER* macros
$ ./scripts/codeconverter/converter.py -i \ --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]') Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20200831210740.126168-12-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
ac900edeed
commit
e38d3c5ce5
7 changed files with 14 additions and 13 deletions
|
@ -60,8 +60,8 @@
|
|||
#define TYPE_SIFIVE_U_PRCI "riscv.sifive.u.prci"
|
||||
|
||||
typedef struct SiFiveUPRCIState SiFiveUPRCIState;
|
||||
#define SIFIVE_U_PRCI(obj) \
|
||||
OBJECT_CHECK(SiFiveUPRCIState, (obj), TYPE_SIFIVE_U_PRCI)
|
||||
DECLARE_INSTANCE_CHECKER(SiFiveUPRCIState, SIFIVE_U_PRCI,
|
||||
TYPE_SIFIVE_U_PRCI)
|
||||
|
||||
struct SiFiveUPRCIState {
|
||||
/*< private >*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue