summary refs log tree commit diff stats
path: root/hw/ppc/pnv_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/pnv_i2c.c')
-rw-r--r--hw/ppc/pnv_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/pnv_i2c.c b/hw/ppc/pnv_i2c.c
index b2f372c874..60de479491 100644
--- a/hw/ppc/pnv_i2c.c
+++ b/hw/ppc/pnv_i2c.c
@@ -569,7 +569,7 @@ static const TypeInfo pnv_i2c_info = {
     .parent        = TYPE_DEVICE,
     .instance_size = sizeof(PnvI2C),
     .class_init    = pnv_i2c_class_init,
-    .interfaces    = (InterfaceInfo[]) {
+    .interfaces    = (const InterfaceInfo[]) {
         { TYPE_PNV_XSCOM_INTERFACE },
         { }
     }