diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index c44ada5f4292..1305ef190fc1 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -276,12 +276,12 @@ static int i2s_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) | |||
276 | switch (i2c->state) { | 276 | switch (i2c->state) { |
277 | 277 | ||
278 | case STATE_IDLE: | 278 | case STATE_IDLE: |
279 | dev_err(i2c->dev, "%s: called in STATE_IDLE\n", __FUNCTION__); | 279 | dev_err(i2c->dev, "%s: called in STATE_IDLE\n", __func__); |
280 | goto out; | 280 | goto out; |
281 | break; | 281 | break; |
282 | 282 | ||
283 | case STATE_STOP: | 283 | case STATE_STOP: |
284 | dev_err(i2c->dev, "%s: called in STATE_STOP\n", __FUNCTION__); | 284 | dev_err(i2c->dev, "%s: called in STATE_STOP\n", __func__); |
285 | s3c24xx_i2c_disable_irq(i2c); | 285 | s3c24xx_i2c_disable_irq(i2c); |
286 | goto out_ack; | 286 | goto out_ack; |
287 | 287 | ||
@@ -948,3 +948,4 @@ module_exit(i2c_adap_s3c_exit); | |||
948 | MODULE_DESCRIPTION("S3C24XX I2C Bus driver"); | 948 | MODULE_DESCRIPTION("S3C24XX I2C Bus driver"); |
949 | MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>"); | 949 | MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>"); |
950 | MODULE_LICENSE("GPL"); | 950 | MODULE_LICENSE("GPL"); |
951 | MODULE_ALIAS("platform:s3c2410-i2c"); | ||