diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-02 16:57:08 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-03 15:47:48 +0200 |
commit | c71a42b51a17978c4d13dca12365b651a95aaa8a (patch) | |
tree | ec1dccb16e36b41b5d0020dcc63f01de027a6484 /include/hw/nvram/fw_cfg.h | |
parent | 8a161d08c92f3fee01e97ede54917abbf7085b24 (diff) | |
download | qemu-c71a42b51a17978c4d13dca12365b651a95aaa8a.zip qemu-c71a42b51a17978c4d13dca12365b651a95aaa8a.tar.gz qemu-c71a42b51a17978c4d13dca12365b651a95aaa8a.tar.bz2 |
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>
Diffstat (limited to 'include/hw/nvram/fw_cfg.h')
-rw-r--r-- | include/hw/nvram/fw_cfg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/nvram/fw_cfg.h b/include/hw/nvram/fw_cfg.h index c1f81a5..d173998 100644 --- a/include/hw/nvram/fw_cfg.h +++ b/include/hw/nvram/fw_cfg.h @@ -59,6 +59,8 @@ typedef struct fw_cfg_dma_access FWCfgDmaAccess; typedef void (*FWCfgCallback)(void *opaque); typedef void (*FWCfgWriteCallback)(void *opaque, off_t start, size_t len); +typedef struct FWCfgEntry FWCfgEntry; + struct FWCfgState { /*< private >*/ SysBusDevice parent_obj; |