aboutsummaryrefslogtreecommitdiff
path: root/hw/pcmcia/pxa2xx.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-08-25 15:20:35 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-08-27 14:04:55 -0400
commit2d8eb5f85f054cbde8786dc7db56eb2c6feb0db3 (patch)
tree67b2dd20af580576b73fe4c6c73e9c6c645bc973 /hw/pcmcia/pxa2xx.c
parent8eeb6f3624e2bfd7acda5482b81c1f429f48dacb (diff)
pxa2xx: Move QOM macros to header
This will make future conversion to OBJECT_DECLARE* easier. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Tested-By: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20200825192110.3528606-40-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/pcmcia/pxa2xx.c')
-rw-r--r--hw/pcmcia/pxa2xx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/pcmcia/pxa2xx.c b/hw/pcmcia/pxa2xx.c
index 5f4bf22a90..fcca7e571b 100644
--- a/hw/pcmcia/pxa2xx.c
+++ b/hw/pcmcia/pxa2xx.c
@@ -18,10 +18,6 @@
#include "hw/pcmcia.h"
#include "hw/arm/pxa.h"
-#define TYPE_PXA2XX_PCMCIA "pxa2xx-pcmcia"
-#define PXA2XX_PCMCIA(obj) \
- OBJECT_CHECK(PXA2xxPCMCIAState, obj, TYPE_PXA2XX_PCMCIA)
-
struct PXA2xxPCMCIAState {
SysBusDevice parent_obj;