diff options
author | Zhoujian <jianjay.zhou@huawei.com> | 2015-02-12 15:43:02 +0800 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-02-16 15:07:09 +0100 |
commit | f824e8ed03cfcda55531206b2ee6fce62a7206f3 (patch) | |
tree | ae3272cd3ea4fbe8ba7d275f8f7f2520df321e52 /include/qom/object.h | |
parent | 09d560177101d2ef1e333754a25cfa49b70583b3 (diff) | |
download | qemu-f824e8ed03cfcda55531206b2ee6fce62a7206f3.zip |
qom: Fix typo, 'my_class_init' -> 'derived_class_init'
Signed-off-by: Zhoujian <jianjay.zhou@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/qom/object.h')
-rw-r--r-- | include/qom/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qom/object.h b/include/qom/object.h index 89c3092967..87575735fe 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -273,7 +273,7 @@ typedef struct InterfaceInfo InterfaceInfo; * .name = TYPE_DERIVED, * .parent = TYPE_MY, * .class_size = sizeof(DerivedClass), - * .class_init = my_class_init, + * .class_init = derived_class_init, * }; * </programlisting> * </example> |