Patchwork fix include file in hw/loader.h

login
register
mail settings
Submitter Wayne Xia
Date Dec. 26, 2012, 9:05 a.m.
Message ID <1356512751-8732-1-git-send-email-xiawenc@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/208153/
State New
Headers show

Comments

Wayne Xia - Dec. 26, 2012, 9:05 a.m.
Now header files have gone into includes, so include file path
needs change also to avoid build break.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
---
 hw/loader.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Wayne Xia - Dec. 26, 2012, 1:46 p.m.
please ignore this mail, sorry for trouble.

>    Now header files have gone into includes, so include file path
> needs change also to avoid build break.
> 
> Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
> ---
>   hw/loader.h |    3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/loader.h b/hw/loader.h
> index 26480ad..5e61c95 100644
> --- a/hw/loader.h
> +++ b/hw/loader.h
> @@ -1,5 +1,6 @@
>   #ifndef LOADER_H
>   #define LOADER_H
> +#include "qapi/qmp/qdict.h"
> 
>   /* loader.c */
>   int get_image_size(const char *filename);
> @@ -30,7 +31,7 @@ int rom_load_all(void);
>   void rom_set_fw(void *f);
>   int rom_copy(uint8_t *dest, hwaddr addr, size_t size);
>   void *rom_ptr(hwaddr addr);
> -void do_info_roms(Monitor *mon);
> +void do_info_roms(Monitor *mon, const QDict *qdict);
> 
>   #define rom_add_file_fixed(_f, _a, _i)          \
>       rom_add_file(_f, NULL, _a, _i)
>

Patch

diff --git a/hw/loader.h b/hw/loader.h
index 26480ad..5e61c95 100644
--- a/hw/loader.h
+++ b/hw/loader.h
@@ -1,5 +1,6 @@ 
 #ifndef LOADER_H
 #define LOADER_H
+#include "qapi/qmp/qdict.h"
 
 /* loader.c */
 int get_image_size(const char *filename);
@@ -30,7 +31,7 @@  int rom_load_all(void);
 void rom_set_fw(void *f);
 int rom_copy(uint8_t *dest, hwaddr addr, size_t size);
 void *rom_ptr(hwaddr addr);
-void do_info_roms(Monitor *mon);
+void do_info_roms(Monitor *mon, const QDict *qdict);
 
 #define rom_add_file_fixed(_f, _a, _i)          \
     rom_add_file(_f, NULL, _a, _i)