mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic
Remove definition about LoongArchPCHPIC and LOONGARCH_PCH_PIC, and replace them with LoongArchPICCommonState and LOONGARCH_PIC_COMMON separately. Also remove unnecessary header files. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn>
This commit is contained in:
parent
36d31cf812
commit
b2799f101c
3 changed files with 11 additions and 19 deletions
|
@ -24,8 +24,4 @@ struct LoongarchPICClass {
|
|||
DeviceRealize parent_realize;
|
||||
};
|
||||
|
||||
#define TYPE_LOONGARCH_PCH_PIC TYPE_LOONGARCH_PIC
|
||||
typedef struct LoongArchPICCommonState LoongArchPCHPIC;
|
||||
#define LOONGARCH_PCH_PIC(obj) ((struct LoongArchPICCommonState *)(obj))
|
||||
|
||||
#endif /* HW_LOONGARCH_PCH_PIC_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue