[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH 1/2] qom: add missing 'const' in
From: |
Andreas Färber |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH 1/2] qom: add missing 'const' in documentation sample |
Date: |
Thu, 02 Aug 2012 17:22:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
Am 02.08.2012 10:40, schrieb Hervé Poussineau:
>
> Signed-off-by: Hervé Poussineau <address@hidden>
Acked-by: Andreas Färber <address@hidden>
/-F
> ---
> include/qemu/object.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/qemu/object.h b/include/qemu/object.h
> index 8b17776..e0d326f 100644
> --- a/include/qemu/object.h
> +++ b/include/qemu/object.h
> @@ -65,7 +65,7 @@ typedef struct InterfaceInfo InterfaceInfo;
> * int reg0, reg1, reg2;
> * } MyDevice;
> *
> - * static TypeInfo my_device_info = {
> + * static const TypeInfo my_device_info = {
> * .name = TYPE_MY_DEVICE,
> * .parent = TYPE_DEVICE,
> * .instance_size = sizeof(MyDevice),
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg