[gpio:gpio-descriptors-regulator 7/26] arch/x86//platform/intel-mid/device_libs/platform_bcm43xx.c:64:14: error: 'struct fixed_voltage_config' has no member named 'gpio'

[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 gpio-descriptors-regulator
head:   0e78939e6e7091d8e0cb6d259758eab6874145e6
commit: a89088417f1f16a105400bf328e0dcc5f1ffa85d [7/26] regulator: fixed: Convert to use GPIO descriptor only
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout a89088417f1f16a105400bf328e0dcc5f1ffa85d
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86//platform/intel-mid/device_libs/platform_bcm43xx.c: In function 'bcm43xx_regulator_register':
>> arch/x86//platform/intel-mid/device_libs/platform_bcm43xx.c:64:14: error: 'struct fixed_voltage_config' has no member named 'gpio'
     bcm43xx_vmmc.gpio = get_gpio_by_name(WLAN_SFI_GPIO_ENABLE_NAME);
                 ^

vim +64 arch/x86//platform/intel-mid/device_libs/platform_bcm43xx.c

dd8d6ec6 Andy Shevchenko 2016-08-31  59  
dd8d6ec6 Andy Shevchenko 2016-08-31  60  static int __init bcm43xx_regulator_register(void)
dd8d6ec6 Andy Shevchenko 2016-08-31  61  {
dd8d6ec6 Andy Shevchenko 2016-08-31  62  	int ret;
dd8d6ec6 Andy Shevchenko 2016-08-31  63  
dd8d6ec6 Andy Shevchenko 2016-08-31 @64  	bcm43xx_vmmc.gpio = get_gpio_by_name(WLAN_SFI_GPIO_ENABLE_NAME);
dd8d6ec6 Andy Shevchenko 2016-08-31  65  	ret = platform_device_register(&bcm43xx_vmmc_regulator);
dd8d6ec6 Andy Shevchenko 2016-08-31  66  	if (ret) {
dd8d6ec6 Andy Shevchenko 2016-08-31  67  		pr_err("%s: vmmc regulator register failed\n", __func__);
dd8d6ec6 Andy Shevchenko 2016-08-31  68  		return ret;
dd8d6ec6 Andy Shevchenko 2016-08-31  69  	}
dd8d6ec6 Andy Shevchenko 2016-08-31  70  
dd8d6ec6 Andy Shevchenko 2016-08-31  71  	return 0;
dd8d6ec6 Andy Shevchenko 2016-08-31  72  }
dd8d6ec6 Andy Shevchenko 2016-08-31  73  

:::::: The code at line 64 was first introduced by commit
:::::: dd8d6ec672f9796528a31033084a4947817d6316 x86/platform/intel-mid: Enable WiFi on Intel Edison

:::::: TO: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxxxxx>

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