[renesas-drivers:topic/drm-du-hdmi-2017-01-10-rebased2 9/61] drivers/tty/serial/st-asc.c:578:12: error: implicit declaration of function 'devm_get_gpiod_from_child'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/drm-du-hdmi-2017-01-10-rebased2
head:   b0fbd5b1a47540958fc4fbefb2a8765caf16f62b
commit: 84b0e3b21d957717dcc028b4a0332c33bb46fef3 [9/61] Merge remote-tracking branch 'tty/tty-next' into renesas-drivers
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 84b0e3b21d957717dcc028b4a0332c33bb46fef3
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/tty/serial/st-asc.c: In function 'asc_set_termios':
>> drivers/tty/serial/st-asc.c:578:12: error: implicit declaration of function 'devm_get_gpiod_from_child' [-Werror=implicit-function-declaration]
       gpiod = devm_get_gpiod_from_child(port->dev, "rts",
               ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/tty/serial/st-asc.c:578:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
       gpiod = devm_get_gpiod_from_child(port->dev, "rts",
             ^
   cc1: some warnings being treated as errors

vim +/devm_get_gpiod_from_child +578 drivers/tty/serial/st-asc.c

d7356256 Lee Jones 2017-02-03  572  	} else {
d7356256 Lee Jones 2017-02-03  573  		/* If flow-control disabled, it's safe to handle RTS manually */
d7356256 Lee Jones 2017-02-03  574  		if (!ascport->rts && ascport->states[NO_HW_FLOWCTRL]) {
d7356256 Lee Jones 2017-02-03  575  			pinctrl_select_state(ascport->pinctrl,
d7356256 Lee Jones 2017-02-03  576  					     ascport->states[NO_HW_FLOWCTRL]);
d7356256 Lee Jones 2017-02-03  577  
d7356256 Lee Jones 2017-02-03 @578  			gpiod =	devm_get_gpiod_from_child(port->dev, "rts",
d7356256 Lee Jones 2017-02-03  579  							  &np->fwnode);
d7356256 Lee Jones 2017-02-03  580  			if (!IS_ERR(gpiod)) {
d7356256 Lee Jones 2017-02-03  581  				gpiod_direction_output(gpiod, 0);

:::::: The code at line 578 was first introduced by commit
:::::: d7356256488c544b8fdc2c3a775ce069546d7933 serial: st-asc: (De)Register GPIOD and swap Pinctrl profiles

:::::: TO: Lee Jones <lee.jones@xxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux