[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] include/hw/riscv/sifive_e.h: Fix the type of parent_obj of SiFiv
From: |
Tommy Wu |
Subject: |
[PATCH] include/hw/riscv/sifive_e.h: Fix the type of parent_obj of SiFiveEState. |
Date: |
Fri, 19 Aug 2022 00:11:36 -0700 |
Fix the type of parent_obj of SiFiveEState from 'SysBusDevice'
to 'MachineState'. Because the parent of SiFiveEState is 'MachineState'.
Signed-off-by: Tommy Wu <tommy.wu@sifive.com>
---
include/hw/riscv/sifive_e.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/hw/riscv/sifive_e.h b/include/hw/riscv/sifive_e.h
index 83604da805..24359f9fe5 100644
--- a/include/hw/riscv/sifive_e.h
+++ b/include/hw/riscv/sifive_e.h
@@ -41,7 +41,7 @@ typedef struct SiFiveESoCState {
typedef struct SiFiveEState {
/*< private >*/
- SysBusDevice parent_obj;
+ MachineState parent_obj;
/*< public >*/
SiFiveESoCState soc;
--
2.27.0
- [PATCH] include/hw/riscv/sifive_e.h: Fix the type of parent_obj of SiFiveEState.,
Tommy Wu <=