mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
imx_ccm: Rename IMX_GET_CLASS macro
Rename it to IMX_CCM_GET_CLASS to be consistent with the existing IMX_CCM and IXM_CCM_CLASS macro. This will make future conversion to OBJECT_DECLARE* easier. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20200825192110.3528606-45-ehabkost@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
8d90bfc5c3
commit
fed163c987
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
OBJECT_CHECK(IMXCCMState, (obj), TYPE_IMX_CCM)
|
||||
#define IMX_CCM_CLASS(klass) \
|
||||
OBJECT_CLASS_CHECK(IMXCCMClass, (klass), TYPE_IMX_CCM)
|
||||
#define IMX_GET_CLASS(obj) \
|
||||
#define IMX_CCM_GET_CLASS(obj) \
|
||||
OBJECT_GET_CLASS(IMXCCMClass, (obj), TYPE_IMX_CCM)
|
||||
|
||||
typedef struct IMXCCMState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue