mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/arm/npcm7xx: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()
NPCM7XX models have been commited after the conversion from
commit 8063396bf3
("Use OBJECT_DECLARE_SIMPLE_TYPE when possible").
Manually convert them.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230109140306.23161-11-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
a91179e7a4
commit
c79aa350ea
10 changed files with 26 additions and 39 deletions
|
@ -51,7 +51,7 @@ typedef struct NPCM7xxRegs {
|
|||
uint32_t boottoctrl;
|
||||
} NPCM7xxRegisters;
|
||||
|
||||
typedef struct NPCM7xxSDHCIState {
|
||||
struct NPCM7xxSDHCIState {
|
||||
SysBusDevice parent;
|
||||
|
||||
MemoryRegion container;
|
||||
|
@ -60,6 +60,6 @@ typedef struct NPCM7xxSDHCIState {
|
|||
NPCM7xxRegisters regs;
|
||||
|
||||
SDHCIState sdhci;
|
||||
} NPCM7xxSDHCIState;
|
||||
};
|
||||
|
||||
#endif /* NPCM7XX_SDHCI_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue