aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-ibm_iic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index 1a3366287087..ade9b14e6840 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -726,7 +726,7 @@ static int __devinit iic_probe(struct ocp_device *ocp){
726 adap = &dev->adap; 726 adap = &dev->adap;
727 strcpy(adap->name, "IBM IIC"); 727 strcpy(adap->name, "IBM IIC");
728 i2c_set_adapdata(adap, dev); 728 i2c_set_adapdata(adap, dev);
729 adap->id = I2C_HW_OCP | iic_algo.id; 729 adap->id = I2C_ALGO_OCP | I2C_HW_OCP;
730 adap->algo = &iic_algo; 730 adap->algo = &iic_algo;
731 adap->client_register = NULL; 731 adap->client_register = NULL;
732 adap->client_unregister = NULL; 732 adap->client_unregister = NULL;