Commit b2ea9dcb authored by Andrew Morton's avatar Andrew Morton Committed by Jaroslav Kysela

[PATCH] fix i2c compile warnings

drivers/i2c/busses/i2c-elv.c: In function `i2c_bitelv_init':

drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-velleman.c: In function `i2c_bitvelle_init':
drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2)
parent 2cc53dd5
......@@ -152,7 +152,7 @@ static int __init i2c_bitelv_init(void)
return -ENODEV;
}
}
pr_debug("i2c-elv: found device at %#x.\n",base);
pr_debug("i2c-elv: found device at %#lx.\n",base);
return 0;
}
......
......@@ -138,7 +138,7 @@ static int __init i2c_bitvelle_init(void)
return -ENODEV;
}
}
pr_debug("i2c-velleman: found device at %#x.\n",base);
pr_debug("i2c-velleman: found device at %#lx.\n",base);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment