[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 1/6] ppc/pnv: Remove ppc target dependency from pnv_xscom.h
From: |
Chalapathi V |
Subject: |
[PATCH v6 1/6] ppc/pnv: Remove ppc target dependency from pnv_xscom.h |
Date: |
Tue, 30 Jul 2024 12:23:38 -0500 |
In this commit target specific dependency from include/hw/ppc/pnv_xscom.h
has been removed so that pnv_xscom.h can be included outside hw/ppc.
Signed-off-by: Chalapathi V <chalapathi.v@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Caleb Schlossin <calebs@linux.vnet.ibm.com>
---
include/hw/ppc/pnv_xscom.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/hw/ppc/pnv_xscom.h b/include/hw/ppc/pnv_xscom.h
index 6209e18492..c8dd42bffd 100644
--- a/include/hw/ppc/pnv_xscom.h
+++ b/include/hw/ppc/pnv_xscom.h
@@ -21,9 +21,9 @@
#define PPC_PNV_XSCOM_H
#include "exec/memory.h"
-#include "hw/ppc/pnv.h"
typedef struct PnvXScomInterface PnvXScomInterface;
+typedef struct PnvChip PnvChip;
#define TYPE_PNV_XSCOM_INTERFACE "pnv-xscom-interface"
#define PNV_XSCOM_INTERFACE(obj) \
--
2.39.3
- [PATCH v6 0/6] hw/ppc: SPI model, Chalapathi V, 2024/07/30
- [PATCH v6 2/6] hw/ssi: Add SPI model, Chalapathi V, 2024/07/30
- [PATCH v6 1/6] ppc/pnv: Remove ppc target dependency from pnv_xscom.h,
Chalapathi V <=
- [PATCH v6 3/6] hw/ssi: Extend SPI model, Chalapathi V, 2024/07/30
- [PATCH v6 4/6] hw/block: Add Microchip's 25CSM04 to m25p80, Chalapathi V, 2024/07/30
- [PATCH v6 5/6] hw/ppc: SPI controller wiring to P10 chip, Chalapathi V, 2024/07/30
- [PATCH v6 6/6] tests/qtest: Add pnv-spi-seeprom qtest, Chalapathi V, 2024/07/30
- Re: [PATCH v6 0/6] hw/ppc: SPI model, Cédric Le Goater, 2024/07/30