linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm:sa1100 20/56] arch/arm/mach-pxa/mainstone.c:567:29: error: 'struct pxamci_platform_data' has no member named 'gpio_power'
@ 2021-06-03 17:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-03 17:16 UTC (permalink / raw)
  To: Russell King; +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 3868 bytes --]

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git sa1100
head:   1b2ebea7666f89e5ab504e2a46a935f804c7f65e
commit: aa0486fb7d60f78fb8ccc513f78827bf9d31a879 [20/56] ARM: pxa/mainstone: convert mainstone IrDA to use gpiod APIs
config: arm-mainstone_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add arm git://git.armlinux.org.uk/~rmk/linux-arm.git
        git fetch --no-tags arm sa1100
        git checkout aa0486fb7d60f78fb8ccc513f78827bf9d31a879
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/arm/mach-pxa/mainstone.c: In function 'mainstone_init':
>> arch/arm/mach-pxa/mainstone.c:567:29: error: 'struct pxamci_platform_data' has no member named 'gpio_power'
     567 |  mainstone_mci_platform_data.gpio_power = mst_mscwr1->base + 11;
         |                             ^


vim +567 arch/arm/mach-pxa/mainstone.c

   547	
   548	static void __init mainstone_init(void)
   549	{
   550		int SW7 = 0;  /* FIXME: get from SCR (Mst doc section 3.2.1.1) */
   551	
   552		pxa2xx_mfp_config(ARRAY_AND_SIZE(mainstone_pin_config));
   553	
   554		/* Register board control register(s) as GPIOs */
   555		gpio_reg_init(NULL, (void __iomem *)&MST_PCMCIA0, -1, 11,
   556			      "mst-pcmcia0", MST_PCMCIA_INPUTS, 0, NULL,
   557			      NULL, mst_pcmcia0_irqs);
   558		gpio_reg_init(NULL, (void __iomem *)&MST_PCMCIA1, -1, 11,
   559			      "mst-pcmcia1", MST_PCMCIA_INPUTS, 0, NULL,
   560			      NULL, mst_pcmcia1_irqs);
   561		gpiod_add_lookup_table(&mainstone_pcmcia_gpio_table);
   562	
   563		mst_mscwr1 = gpio_reg_init(NULL, (void __iomem *)&MST_MSCWR1, -1, 16,
   564					   "mst-mscwr1", 0, 0, NULL, NULL, NULL);
   565		gpiod_add_lookup_table(&mainstone_ficp_gpio_table);
   566		/* MCI power on = MST_MSCWR1_MMC_ON */
 > 567		mainstone_mci_platform_data.gpio_power = mst_mscwr1->base + 11;
   568	
   569		pxa_set_ffuart_info(NULL);
   570		pxa_set_btuart_info(NULL);
   571		pxa_set_stuart_info(NULL);
   572	
   573		mst_flash_data[0].width = (__raw_readl(BOOT_DEF) & 1) ? 2 : 4;
   574		mst_flash_data[1].width = 4;
   575	
   576		/* Compensate for SW7 which swaps the flash banks */
   577		mst_flash_data[SW7].name = "processor-flash";
   578		mst_flash_data[SW7 ^ 1].name = "mainboard-flash";
   579	
   580		printk(KERN_NOTICE "Mainstone configured to boot from %s\n",
   581		       mst_flash_data[0].name);
   582	
   583		/* system bus arbiter setting
   584		 * - Core_Park
   585		 * - LCD_wt:DMA_wt:CORE_Wt = 2:3:4
   586		 */
   587		ARB_CNTRL = ARB_CORE_PARK | 0x234;
   588	
   589		platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
   590	
   591		/* reading Mainstone's "Virtual Configuration Register"
   592		   might be handy to select LCD type here */
   593		if (0)
   594			mainstone_pxafb_info.modes = &toshiba_ltm04c380k_mode;
   595		else
   596			mainstone_pxafb_info.modes = &toshiba_ltm035a776c_mode;
   597	
   598		pxa_set_fb_info(NULL, &mainstone_pxafb_info);
   599		mainstone_backlight_register();
   600	
   601		pxa_set_mci_info(&mainstone_mci_platform_data);
   602		pxa_set_ficp_info(&mainstone_ficp_platform_data);
   603		pxa_set_ohci_info(&mainstone_ohci_platform_data);
   604		pxa_set_i2c_info(NULL);
   605		pxa_set_ac97_info(&mst_audio_ops);
   606	
   607		mainstone_init_keypad();
   608	}
   609	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 12848 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-03 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 17:16 [arm:sa1100 20/56] arch/arm/mach-pxa/mainstone.c:567:29: error: 'struct pxamci_platform_data' has no member named 'gpio_power' kernel 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).