* [renesas-drivers:topic/gen3-modemr-syscon-v1 14/41] drivers/media/i2c/tc358743.c:1786:22: error: too few arguments to function 'devm_gpiod_get'
@ 2015-10-12 14:35 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-10-12 14:35 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: kbuild-all, linux-media, Geert Uytterhoeven
[-- Attachment #1: Type: text/plain, Size: 3276 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/gen3-modemr-syscon-v1
head: dbe77a0e3216be44aeb55396d415b56f1df25bf3
commit: cf154c485cd1d565e67bf9762f8538ea794ab27e [14/41] Merge remote-tracking branch 'media-next/master' into base
config: x86_64-allmodconfig (attached as .config)
reproduce:
git checkout cf154c485cd1d565e67bf9762f8538ea794ab27e
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
drivers/media/i2c/tc358743.c: In function 'tc358743_probe_of':
>> drivers/media/i2c/tc358743.c:1786:22: error: too few arguments to function 'devm_gpiod_get'
state->reset_gpio = devm_gpiod_get(dev, "reset");
^
In file included from drivers/media/i2c/tc358743.c:34:0:
include/linux/gpio/consumer.h:73:32: note: declared here
struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
^
vim +/devm_gpiod_get +1786 drivers/media/i2c/tc358743.c
25614824 Philipp Zabel 2015-07-17 1770 * them based on link frequency and resolution.
25614824 Philipp Zabel 2015-07-17 1771 */
25614824 Philipp Zabel 2015-07-17 1772 if (bps_pr_lane != 594000000U)
25614824 Philipp Zabel 2015-07-17 1773 dev_warn(dev, "untested bps per lane: %u bps\n", bps_pr_lane);
25614824 Philipp Zabel 2015-07-17 1774 state->pdata.lineinitcnt = 0xe80;
25614824 Philipp Zabel 2015-07-17 1775 state->pdata.lptxtimecnt = 0x003;
25614824 Philipp Zabel 2015-07-17 1776 /* tclk-preparecnt: 3, tclk-zerocnt: 20 */
25614824 Philipp Zabel 2015-07-17 1777 state->pdata.tclk_headercnt = 0x1403;
25614824 Philipp Zabel 2015-07-17 1778 state->pdata.tclk_trailcnt = 0x00;
25614824 Philipp Zabel 2015-07-17 1779 /* ths-preparecnt: 3, ths-zerocnt: 1 */
25614824 Philipp Zabel 2015-07-17 1780 state->pdata.ths_headercnt = 0x0103;
25614824 Philipp Zabel 2015-07-17 1781 state->pdata.twakeup = 0x4882;
25614824 Philipp Zabel 2015-07-17 1782 state->pdata.tclk_postcnt = 0x008;
25614824 Philipp Zabel 2015-07-17 1783 state->pdata.ths_trailcnt = 0x2;
25614824 Philipp Zabel 2015-07-17 1784 state->pdata.hstxvregcnt = 0;
25614824 Philipp Zabel 2015-07-17 1785
25614824 Philipp Zabel 2015-07-17 @1786 state->reset_gpio = devm_gpiod_get(dev, "reset");
25614824 Philipp Zabel 2015-07-17 1787 if (IS_ERR(state->reset_gpio)) {
25614824 Philipp Zabel 2015-07-17 1788 dev_err(dev, "failed to get reset gpio\n");
25614824 Philipp Zabel 2015-07-17 1789 ret = PTR_ERR(state->reset_gpio);
25614824 Philipp Zabel 2015-07-17 1790 goto disable_clk;
25614824 Philipp Zabel 2015-07-17 1791 }
25614824 Philipp Zabel 2015-07-17 1792
25614824 Philipp Zabel 2015-07-17 1793 tc358743_gpio_reset(state);
25614824 Philipp Zabel 2015-07-17 1794
:::::: The code at line 1786 was first introduced by commit
:::::: 25614824685247e00b786032a504f10bfab347b1 [media] tc358743: support probe from device tree
:::::: TO: Philipp Zabel <p.zabel@pengutronix.de>
:::::: CC: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 49503 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-12 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12 14:35 [renesas-drivers:topic/gen3-modemr-syscon-v1 14/41] drivers/media/i2c/tc358743.c:1786:22: error: too few arguments to function 'devm_gpiod_get' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).