aboutsummaryrefslogtreecommitdiff
path: root/hw/sd/npcm7xx_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sd/npcm7xx_sdhci.c')
-rw-r--r--hw/sd/npcm7xx_sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/npcm7xx_sdhci.c b/hw/sd/npcm7xx_sdhci.c
index fb51821e11..99028c1a2c 100644
--- a/hw/sd/npcm7xx_sdhci.c
+++ b/hw/sd/npcm7xx_sdhci.c
@@ -155,7 +155,7 @@ static void npcm7xx_sdhci_class_init(ObjectClass *classp, void *data)
dc->desc = "NPCM7xx SD/eMMC Host Controller";
dc->realize = npcm7xx_sdhci_realize;
- dc->reset = npcm7xx_sdhci_reset;
+ device_class_set_legacy_reset(dc, npcm7xx_sdhci_reset);
dc->vmsd = &vmstate_npcm7xx_sdhci;
}