mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33: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
|
@ -51,8 +51,8 @@
|
|||
#define TYPE_SIFIVE_U_OTP "riscv.sifive.u.otp"
|
||||
|
||||
typedef struct SiFiveUOTPState SiFiveUOTPState;
|
||||
#define SIFIVE_U_OTP(obj) \
|
||||
OBJECT_CHECK(SiFiveUOTPState, (obj), TYPE_SIFIVE_U_OTP)
|
||||
DECLARE_INSTANCE_CHECKER(SiFiveUOTPState, SIFIVE_U_OTP,
|
||||
TYPE_SIFIVE_U_OTP)
|
||||
|
||||
struct SiFiveUOTPState {
|
||||
/*< private >*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue