diff options
Diffstat (limited to 'hw/pxa2xx_pcmcia.c')
-rw-r--r-- | hw/pxa2xx_pcmcia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pxa2xx_pcmcia.c b/hw/pxa2xx_pcmcia.c index 5b42147dce..be1309f62e 100644 --- a/hw/pxa2xx_pcmcia.c +++ b/hw/pxa2xx_pcmcia.c @@ -193,8 +193,8 @@ int pxa2xx_pcmcia_dettach(void *opaque) return -ENOENT; s->card->detach(s->card->state); - s->card->slot = 0; - s->card = 0; + s->card->slot = NULL; + s->card = NULL; s->slot.attached = 0; |