diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 93ca36dc777e..a3ed9590f028 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
@@ -627,8 +627,6 @@ static u32 iic_func(struct i2c_adapter *adap) | |||
627 | } | 627 | } |
628 | 628 | ||
629 | static struct i2c_algorithm iic_algo = { | 629 | static struct i2c_algorithm iic_algo = { |
630 | .name = "IBM IIC algorithm", | ||
631 | .id = I2C_ALGO_OCP, | ||
632 | .master_xfer = iic_xfer, | 630 | .master_xfer = iic_xfer, |
633 | .functionality = iic_func | 631 | .functionality = iic_func |
634 | }; | 632 | }; |
@@ -727,7 +725,7 @@ static int __devinit iic_probe(struct ocp_device *ocp){ | |||
727 | adap = &dev->adap; | 725 | adap = &dev->adap; |
728 | strcpy(adap->name, "IBM IIC"); | 726 | strcpy(adap->name, "IBM IIC"); |
729 | i2c_set_adapdata(adap, dev); | 727 | i2c_set_adapdata(adap, dev); |
730 | adap->id = I2C_HW_OCP | iic_algo.id; | 728 | adap->id = I2C_HW_OCP; |
731 | adap->algo = &iic_algo; | 729 | adap->algo = &iic_algo; |
732 | adap->client_register = NULL; | 730 | adap->client_register = NULL; |
733 | adap->client_unregister = NULL; | 731 | adap->client_unregister = NULL; |