tests/unit: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
2202d3fd26
commit
869e7146b7
@ -46,7 +46,7 @@ struct MyType {
|
|||||||
uint32_t prop2;
|
uint32_t prop2;
|
||||||
};
|
};
|
||||||
|
|
||||||
static Property static_props[] = {
|
static const Property static_props[] = {
|
||||||
DEFINE_PROP_UINT32("prop1", MyType, prop1, PROP_DEFAULT),
|
DEFINE_PROP_UINT32("prop1", MyType, prop1, PROP_DEFAULT),
|
||||||
DEFINE_PROP_UINT32("prop2", MyType, prop2, PROP_DEFAULT),
|
DEFINE_PROP_UINT32("prop2", MyType, prop2, PROP_DEFAULT),
|
||||||
DEFINE_PROP_END_OF_LIST()
|
DEFINE_PROP_END_OF_LIST()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user