From f824e8ed03cfcda55531206b2ee6fce62a7206f3 Mon Sep 17 00:00:00 2001 From: Zhoujian Date: Thu, 12 Feb 2015 15:43:02 +0800 Subject: [PATCH] qom: Fix typo, 'my_class_init' -> 'derived_class_init' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Zhoujian Signed-off-by: Gonglei Signed-off-by: Andreas Färber --- include/qom/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, * }; * * -- 2.39.5