fw_cfg: remove useless declarations from typedefs.h
Only FWCfgState is used as part of APIs such as acpi_ghes_add_fw_cfg. Everything else need not be in typedefs.h. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -59,6 +59,8 @@ typedef struct fw_cfg_dma_access FWCfgDmaAccess;
|
|||||||
typedef void (*FWCfgCallback)(void *opaque);
|
typedef void (*FWCfgCallback)(void *opaque);
|
||||||
typedef void (*FWCfgWriteCallback)(void *opaque, off_t start, size_t len);
|
typedef void (*FWCfgWriteCallback)(void *opaque, off_t start, size_t len);
|
||||||
|
|
||||||
|
typedef struct FWCfgEntry FWCfgEntry;
|
||||||
|
|
||||||
struct FWCfgState {
|
struct FWCfgState {
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
SysBusDevice parent_obj;
|
SysBusDevice parent_obj;
|
||||||
|
@@ -56,9 +56,6 @@ typedef struct DumpState DumpState;
|
|||||||
typedef struct Error Error;
|
typedef struct Error Error;
|
||||||
typedef struct EventNotifier EventNotifier;
|
typedef struct EventNotifier EventNotifier;
|
||||||
typedef struct FlatView FlatView;
|
typedef struct FlatView FlatView;
|
||||||
typedef struct FWCfgEntry FWCfgEntry;
|
|
||||||
typedef struct FWCfgIoState FWCfgIoState;
|
|
||||||
typedef struct FWCfgMemState FWCfgMemState;
|
|
||||||
typedef struct FWCfgState FWCfgState;
|
typedef struct FWCfgState FWCfgState;
|
||||||
typedef struct GraphicHwOps GraphicHwOps;
|
typedef struct GraphicHwOps GraphicHwOps;
|
||||||
typedef struct HostMemoryBackend HostMemoryBackend;
|
typedef struct HostMemoryBackend HostMemoryBackend;
|
||||||
|
Reference in New Issue
Block a user