diff mbox

[v2] hw/misc: add missing includes

Message ID 20170609150622.4720-1-f4bug@amsat.org
State Accepted, archived
Headers show

Commit Message

Philippe Mathieu-Daudé June 9, 2017, 3:06 p.m. UTC
inlined create_unimplemented_device() calls sysbus_mmio_map_overlap().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---

v2: Addressed review feedback from Eric Blake

 include/hw/misc/unimp.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Philippe Mathieu-Daudé June 9, 2017, 9:32 p.m. UTC | #1
I intended to send those 3 patches as separate since unrelated, but 
failed again, sorry :S

On 06/09/2017 12:06 PM, Philippe Mathieu-Daudé wrote:
> inlined create_unimplemented_device() calls sysbus_mmio_map_overlap().
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>
> v2: Addressed review feedback from Eric Blake
>
>  include/hw/misc/unimp.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/hw/misc/unimp.h b/include/hw/misc/unimp.h
> index 3462d85836..52e068ec3e 100644
> --- a/include/hw/misc/unimp.h
> +++ b/include/hw/misc/unimp.h
> @@ -8,6 +8,8 @@
>  #ifndef HW_MISC_UNIMP_H
>  #define HW_MISC_UNIMP_H
>
> +#include "hw/sysbus.h"
> +
>  #define TYPE_UNIMPLEMENTED_DEVICE "unimplemented-device"
>
>  /**
>
Eric Blake June 9, 2017, 9:38 p.m. UTC | #2
On 06/09/2017 10:06 AM, Philippe Mathieu-Daudé wrote:
> inlined create_unimplemented_device() calls sysbus_mmio_map_overlap().
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> 
> v2: Addressed review feedback from Eric Blake
> 
>  include/hw/misc/unimp.h | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/include/hw/misc/unimp.h b/include/hw/misc/unimp.h
> index 3462d85836..52e068ec3e 100644
> --- a/include/hw/misc/unimp.h
> +++ b/include/hw/misc/unimp.h
> @@ -8,6 +8,8 @@
>  #ifndef HW_MISC_UNIMP_H
>  #define HW_MISC_UNIMP_H
>  
> +#include "hw/sysbus.h"
> +
>  #define TYPE_UNIMPLEMENTED_DEVICE "unimplemented-device"
>  
>  /**
>
Michael Tokarev June 27, 2017, 1:24 p.m. UTC | #3
Applied to -trivial, thanks!

/mjt
diff mbox

Patch

diff --git a/include/hw/misc/unimp.h b/include/hw/misc/unimp.h
index 3462d85836..52e068ec3e 100644
--- a/include/hw/misc/unimp.h
+++ b/include/hw/misc/unimp.h
@@ -8,6 +8,8 @@ 
 #ifndef HW_MISC_UNIMP_H
 #define HW_MISC_UNIMP_H
 
+#include "hw/sysbus.h"
+
 #define TYPE_UNIMPLEMENTED_DEVICE "unimplemented-device"
 
 /**