summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2007-05-22 19:49:16 +0200
committerJean Delvare <khali@hyperion.delvare>2007-05-22 19:49:16 +0200
commita1ba15832c8f6ac2d5d193a6dbb91bcf7705b732 (patch)
treeb49ae9259aab5e1527aeae578f133495d144c3e4 /drivers/i2c/busses
parent6a7ce82f02e8ce7391e40018749d93762abf6ee0 (diff)
downloadblackbird-op-linux-a1ba15832c8f6ac2d5d193a6dbb91bcf7705b732.tar.gz
blackbird-op-linux-a1ba15832c8f6ac2d5d193a6dbb91bcf7705b732.zip
i2c-s3c2410: Fix build warning
Fix for the following build warning: CC drivers/i2c/busses/i2c-s3c2410.o drivers/i2c/busses/i2c-s3c2410.c: In function 's3c24xx_i2c_probe': drivers/i2c/busses/i2c-s3c2410.c:839: warning: format '%ld' expects type 'long int', but argument 4 has type 'resource_size_t' Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index e68a96f589fd..e4540fcf6476 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -830,7 +830,8 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
i2c->irq = res;
- dev_dbg(&pdev->dev, "irq resource %p (%ld)\n", res, res->start);
+ dev_dbg(&pdev->dev, "irq resource %p (%lu)\n", res,
+ (unsigned long)res->start);
ret = i2c_add_adapter(&i2c->adap);
if (ret < 0) {
OpenPOWER on IntegriCloud