summary refs log tree commit diff stats
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 99028c1a2c..0233d7bd4d 100644
--- a/hw/sd/npcm7xx_sdhci.c
+++ b/hw/sd/npcm7xx_sdhci.c
@@ -149,7 +149,7 @@ static const VMStateDescription vmstate_npcm7xx_sdhci = {
     },
 };
 
-static void npcm7xx_sdhci_class_init(ObjectClass *classp, void *data)
+static void npcm7xx_sdhci_class_init(ObjectClass *classp, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(classp);