Properly declare the IBM IIC bus' parent device. Otherwise i2c-core keeps shouting on us. Signed-off-by: Jean Delvare --- drivers/i2c/busses/i2c-ibm_iic.c | 1 + 1 file changed, 1 insertion(+) --- linux-2.6.20-rc5.orig/drivers/i2c/busses/i2c-ibm_iic.c 2007-01-22 17:36:10.000000000 +0100 +++ linux-2.6.20-rc5/drivers/i2c/busses/i2c-ibm_iic.c 2007-01-22 17:37:34.000000000 +0100 @@ -727,6 +727,7 @@ static int __devinit iic_probe(struct oc /* Register it with i2c layer */ adap = &dev->adap; + adap->dev.parent = &ocp->dev; strcpy(adap->name, "IBM IIC"); i2c_set_adapdata(adap, dev); adap->id = I2C_HW_OCP;