[gpio:devel 19/27] drivers/gpio/gpiolib.c:2748:32: error: 'struct gpio_device' has no member named 'pin_ranges'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel
head:   5f4bf171ca03b79f0ed7a17216fd854e50955617
commit: 2ab73c6d8323fa1eb02c16c07c40ba2ed17da729 [19/27] gpio: Support GPIO controllers without pin-ranges
config: i386-randconfig-a002-20200327 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce:
        git checkout 2ab73c6d8323fa1eb02c16c07c40ba2ed17da729
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   drivers/gpio/gpiolib.c: In function 'gpiochip_generic_request':
>> drivers/gpio/gpiolib.c:2748:32: error: 'struct gpio_device' has no member named 'pin_ranges'
     if (!list_empty(&chip->gpiodev->pin_ranges))
                                   ^

vim +2748 drivers/gpio/gpiolib.c

  2740	
  2741	/**
  2742	 * gpiochip_generic_request() - request the gpio function for a pin
  2743	 * @chip: the gpiochip owning the GPIO
  2744	 * @offset: the offset of the GPIO to request for GPIO function
  2745	 */
  2746	int gpiochip_generic_request(struct gpio_chip *chip, unsigned offset)
  2747	{
> 2748		if (!list_empty(&chip->gpiodev->pin_ranges))
  2749			return pinctrl_gpio_request(chip->gpiodev->base + offset);
  2750	
  2751		return 0;
  2752	}
  2753	EXPORT_SYMBOL_GPL(gpiochip_generic_request);
  2754	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux