Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1ba1583 authored by Arnaud Patard's avatar Arnaud Patard Committed by Jean Delvare
Browse files

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: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 6a7ce82f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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) {