diff mbox series

arm: fix armv7m_init() declaration to match definition

Message ID 1507710805-221721-1-git-send-email-imammedo@redhat.com
State New
Headers show
Series arm: fix armv7m_init() declaration to match definition | expand

Commit Message

Igor Mammedov Oct. 11, 2017, 8:33 a.m. UTC
s/cpu_model/cpu_type/ that has been forgotten during
conversion (ba1ba5cc), while touching the line also
fixup alignment.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 include/hw/arm/arm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Maydell Oct. 11, 2017, 2:55 p.m. UTC | #1
On 11 October 2017 at 09:33, Igor Mammedov <imammedo@redhat.com> wrote:
> s/cpu_model/cpu_type/ that has been forgotten during
> conversion (ba1ba5cc), while touching the line also
> fixup alignment.
>
> Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> ---
>  include/hw/arm/arm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/hw/arm/arm.h b/include/hw/arm/arm.h
> index a3f79d3..ce769bd 100644
> --- a/include/hw/arm/arm.h
> +++ b/include/hw/arm/arm.h
> @@ -25,7 +25,7 @@ typedef enum {
>
>  /* armv7m.c */
>  DeviceState *armv7m_init(MemoryRegion *system_memory, int mem_size, int num_irq,
> -                      const char *kernel_filename, const char *cpu_model);
> +                         const char *kernel_filename, const char *cpu_type);
>  /**
>   * armv7m_load_kernel:
>   * @cpu: CPU
> --
> 2.7.4



Applied to target-arm.next, thanks.

-- PMM
diff mbox series

Patch

diff --git a/include/hw/arm/arm.h b/include/hw/arm/arm.h
index a3f79d3..ce769bd 100644
--- a/include/hw/arm/arm.h
+++ b/include/hw/arm/arm.h
@@ -25,7 +25,7 @@  typedef enum {
 
 /* armv7m.c */
 DeviceState *armv7m_init(MemoryRegion *system_memory, int mem_size, int num_irq,
-                      const char *kernel_filename, const char *cpu_model);
+                         const char *kernel_filename, const char *cpu_type);
 /**
  * armv7m_load_kernel:
  * @cpu: CPU