OSDN Git Service

nubus: Rename class type checking macros
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:39 +0000 (15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:55 +0000 (14:04 -0400)
commit001040158d5d46cc111dd9382a4a61153296b611
treee5bc0875e6647713dc1a8c0126ea9b473bd22d4d
parent42db0fb5e090c21fbb88ea1b8e7472035e953259
nubus: Rename class type checking macros

Rename the existing class type checking macros to be consistent
with the type name and instance type checking macro.  Use a
NUBUS_MACFB prefix instead of MACFB_NUBUS.

This will make future conversion to OBJECT_DECLARE* easier.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-44-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/display/macfb.c
include/hw/display/macfb.h