aboutsummaryrefslogtreecommitdiff
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ppc/pnv_i2c.c b/hw/ppc/pnv_i2c.c
index 4581cc5e5d..eec5047ce8 100644
--- a/hw/ppc/pnv_i2c.c
+++ b/hw/ppc/pnv_i2c.c
@@ -557,6 +557,9 @@ static void pnv_i2c_class_init(ObjectClass *klass, void *data)
xscomc->dt_xscom = pnv_i2c_dt_xscom;
+ /* Reason: This device is part of the CPU and cannot be used separately */
+ dc->user_creatable = false;
+
dc->desc = "PowerNV I2C";
dc->realize = pnv_i2c_realize;
device_class_set_props(dc, pnv_i2c_properties);