aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/fsl_imx8m_phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/fsl_imx8m_phy.c')
-rw-r--r--hw/pci-host/fsl_imx8m_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/fsl_imx8m_phy.c b/hw/pci-host/fsl_imx8m_phy.c
index aa304b1..04da3f9 100644
--- a/hw/pci-host/fsl_imx8m_phy.c
+++ b/hw/pci-host/fsl_imx8m_phy.c
@@ -76,7 +76,7 @@ static const VMStateDescription fsl_imx8m_pcie_phy_vmstate = {
}
};
-static void fsl_imx8m_pcie_phy_class_init(ObjectClass *klass, void *data)
+static void fsl_imx8m_pcie_phy_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
ResettableClass *rc = RESETTABLE_CLASS(klass);