[pinctrl:devel 140/153] drivers/pinctrl/bcm/pinctrl-bcm2835.c:386:57: error: 'struct gpio_irq_chip' has no member named 'irqdomain'; did you mean 'domain'?

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head:   bfcadc85ef134881fce5f8635648e36de1ab4c9d
commit: f0fbe7bce733561b76a5b55c5f4625888acd3792 [140/153] gpio: Move irqdomain into struct gpio_irq_chip
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f0fbe7bce733561b76a5b55c5f4625888acd3792
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/pinctrl/bcm/pinctrl-bcm2835.c: In function 'bcm2835_gpio_irq_handle_bank':
>> drivers/pinctrl/bcm/pinctrl-bcm2835.c:386:57: error: 'struct gpio_irq_chip' has no member named 'irqdomain'; did you mean 'domain'?
      generic_handle_irq(irq_linear_revmap(pc->gpio_chip.irq.irqdomain,
                                                            ^

vim +386 drivers/pinctrl/bcm/pinctrl-bcm2835.c

   369	
   370	static void bcm2835_gpio_irq_handle_bank(struct bcm2835_pinctrl *pc,
   371						 unsigned int bank, u32 mask)
   372	{
   373		unsigned long events;
   374		unsigned offset;
   375		unsigned gpio;
   376		unsigned int type;
   377	
   378		events = bcm2835_gpio_rd(pc, GPEDS0 + bank * 4);
   379		events &= mask;
   380		events &= pc->enabled_irq_map[bank];
   381		for_each_set_bit(offset, &events, 32) {
   382			gpio = (32 * bank) + offset;
   383			/* FIXME: no clue why the code looks up the type here */
   384			type = pc->irq_type[gpio];
   385	
 > 386			generic_handle_irq(irq_linear_revmap(pc->gpio_chip.irq.irqdomain,
   387							     gpio));
   388		}
   389	}
   390	

---
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 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