tree: git://git.armlinux.org.uk/~rmk/linux-arm sa1100
head: 67651143ceac3e98fc5cc0c34d0751c0fe468104
commit: 02018c2f5cda83eafca4dc4d8d8caa93c525467c [17/58] ARM: pxa/mainstone: convert
mainstone IrDA to use gpiod APIs
config: arm-pxa_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 02018c2f5cda83eafca4dc4d8d8caa93c525467c
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm/mach-pxa/mainstone.c: In function 'mainstone_init':
> arch/arm/mach-pxa/mainstone.c:564:30: error: 'struct
pxamci_platform_data' has no member named 'gpio_power'; did you mean
'setpower'?
mainstone_mci_platform_data.gpio_power =
mst_mscwr1->base + 11;
^~~~~~~~~~
setpower
vim +564 arch/arm/mach-pxa/mainstone.c
544
545 static void __init mainstone_init(void)
546 {
547 int SW7 = 0; /* FIXME: get from SCR (Mst doc section 3.2.1.1) */
548
549 pxa2xx_mfp_config(ARRAY_AND_SIZE(mainstone_pin_config));
550
551 /* Register board control register(s) as GPIOs */
552 gpio_reg_init(NULL, (void __iomem *)&MST_PCMCIA0, -1, 11,
553 "mst-pcmcia0", MST_PCMCIA_INPUTS, 0, NULL,
554 NULL, mst_pcmcia0_irqs);
555 gpio_reg_init(NULL, (void __iomem *)&MST_PCMCIA1, -1, 11,
556 "mst-pcmcia1", MST_PCMCIA_INPUTS, 0, NULL,
557 NULL, mst_pcmcia1_irqs);
558 gpiod_add_lookup_table(&mainstone_pcmcia_gpio_table);
559
560 mst_mscwr1 = gpio_reg_init(NULL, (void __iomem *)&MST_MSCWR1, -1, 16,
561 "mst-mscwr1", 0, 0, NULL, NULL, NULL);
562 gpiod_add_lookup_table(&mainstone_ficp_gpio_table);
563 /* MCI power on = MST_MSCWR1_MMC_ON */
564 mainstone_mci_platform_data.gpio_power = mst_mscwr1->base +
11;
565
566 pxa_set_ffuart_info(NULL);
567 pxa_set_btuart_info(NULL);
568 pxa_set_stuart_info(NULL);
569
570 mst_flash_data[0].width = (__raw_readl(BOOT_DEF) & 1) ? 2 : 4;
571 mst_flash_data[1].width = 4;
572
573 /* Compensate for SW7 which swaps the flash banks */
574 mst_flash_data[SW7].name = "processor-flash";
575 mst_flash_data[SW7 ^ 1].name = "mainboard-flash";
576
577 printk(KERN_NOTICE "Mainstone configured to boot from %s\n",
578 mst_flash_data[0].name);
579
580 /* system bus arbiter setting
581 * - Core_Park
582 * - LCD_wt:DMA_wt:CORE_Wt = 2:3:4
583 */
584 ARB_CNTRL = ARB_CORE_PARK | 0x234;
585
586 platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
587
588 /* reading Mainstone's "Virtual Configuration Register"
589 might be handy to select LCD type here */
590 if (0)
591 mainstone_pxafb_info.modes = &toshiba_ltm04c380k_mode;
592 else
593 mainstone_pxafb_info.modes = &toshiba_ltm035a776c_mode;
594
595 pxa_set_fb_info(NULL, &mainstone_pxafb_info);
596 mainstone_backlight_register();
597
598 pxa_set_mci_info(&mainstone_mci_platform_data);
599 pxa_set_ficp_info(&mainstone_ficp_platform_data);
600 pxa_set_ohci_info(&mainstone_ohci_platform_data);
601 pxa_set_i2c_info(NULL);
602 pxa_set_ac97_info(&mst_audio_ops);
603
604 mainstone_init_keypad();
605 }
606
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation