diff options
author | Fam Zheng <famz@redhat.com> | 2017-07-14 10:14:54 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 12:04:42 +0200 |
commit | 1b6b7d109ea53157525ad787802e45773fb7becb (patch) | |
tree | 05d588b41ddbed6fa9fa2c06d954840628078f01 /target/ppc | |
parent | 75ab905383ea92d1c44cdd07e0f9fd509d51c9cc (diff) | |
download | qemu-1b6b7d109ea53157525ad787802e45773fb7becb.zip qemu-1b6b7d109ea53157525ad787802e45773fb7becb.tar.gz qemu-1b6b7d109ea53157525ad787802e45773fb7becb.tar.bz2 |
qdev: Add const qualifier to PropertyInfo definitions
The remaining non-const ones are in e1000e which modifies description at
runtime. They can be addressed separatedly.
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170714021509.23681-6-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/ppc')
-rw-r--r-- | target/ppc/translate_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/translate_init.c b/target/ppc/translate_init.c index 783bf98..ae25faf 100644 --- a/target/ppc/translate_init.c +++ b/target/ppc/translate_init.c @@ -8435,7 +8435,7 @@ static void getset_compat_deprecated(Object *obj, Visitor *v, const char *name, visit_type_null(v, name, NULL); } -static PropertyInfo ppc_compat_deprecated_propinfo = { +static const PropertyInfo ppc_compat_deprecated_propinfo = { .name = "str", .description = "compatibility mode (deprecated)", .get = getset_compat_deprecated, |