diff mbox series

[3/3] include/hw/block: Include hw/block/block.h where needed

Message ID 20221208143939.2775453-4-armbru@redhat.com (mailing list archive)
State New, archived
Headers show
Series block: Clean up includes | expand

Commit Message

Markus Armbruster Dec. 8, 2022, 2:39 p.m. UTC
hw/block/swim.h needs BlockConf.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 include/hw/block/swim.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Philippe Mathieu-Daudé Dec. 8, 2022, 2:55 p.m. UTC | #1
On 8/12/22 15:39, Markus Armbruster wrote:
> hw/block/swim.h needs BlockConf.
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
>   include/hw/block/swim.h | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
diff mbox series

Patch

diff --git a/include/hw/block/swim.h b/include/hw/block/swim.h
index c1bd5f6555..9b3dcb029d 100644
--- a/include/hw/block/swim.h
+++ b/include/hw/block/swim.h
@@ -11,6 +11,7 @@ 
 #ifndef SWIM_H
 #define SWIM_H
 
+#include "hw/block/block.h"
 #include "hw/sysbus.h"
 #include "qom/object.h"