diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
| -rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 1168d61418c9..43ca32fddde2 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
| @@ -661,7 +661,7 @@ static inline u8 iic_clckdiv(unsigned int opb) | |||
| 661 | return (u8)((opb + 9) / 10 - 1); | 661 | return (u8)((opb + 9) / 10 - 1); |
| 662 | } | 662 | } |
| 663 | 663 | ||
| 664 | static int __devinit iic_request_irq(struct of_device *ofdev, | 664 | static int __devinit iic_request_irq(struct platform_device *ofdev, |
| 665 | struct ibm_iic_private *dev) | 665 | struct ibm_iic_private *dev) |
| 666 | { | 666 | { |
| 667 | struct device_node *np = ofdev->dev.of_node; | 667 | struct device_node *np = ofdev->dev.of_node; |
| @@ -692,7 +692,7 @@ static int __devinit iic_request_irq(struct of_device *ofdev, | |||
| 692 | /* | 692 | /* |
| 693 | * Register single IIC interface | 693 | * Register single IIC interface |
| 694 | */ | 694 | */ |
| 695 | static int __devinit iic_probe(struct of_device *ofdev, | 695 | static int __devinit iic_probe(struct platform_device *ofdev, |
| 696 | const struct of_device_id *match) | 696 | const struct of_device_id *match) |
| 697 | { | 697 | { |
| 698 | struct device_node *np = ofdev->dev.of_node; | 698 | struct device_node *np = ofdev->dev.of_node; |
| @@ -780,7 +780,7 @@ error_cleanup: | |||
| 780 | /* | 780 | /* |
| 781 | * Cleanup initialized IIC interface | 781 | * Cleanup initialized IIC interface |
| 782 | */ | 782 | */ |
| 783 | static int __devexit iic_remove(struct of_device *ofdev) | 783 | static int __devexit iic_remove(struct platform_device *ofdev) |
| 784 | { | 784 | { |
| 785 | struct ibm_iic_private *dev = dev_get_drvdata(&ofdev->dev); | 785 | struct ibm_iic_private *dev = dev_get_drvdata(&ofdev->dev); |
| 786 | 786 | ||
