Re: [PATCH 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

From: kbuild test robot
Date: Sun Apr 10 2016 - 23:18:50 EST


Hi Tan,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.6-rc3 next-20160408]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Tan-Jui-Nee/pinctrl-broxton-enable-platform-device-in-the-absent-of-ACPI-enumeration/20160411-105542
config: x86_64-randconfig-x019-201615 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers/mfd/lpc_ich.c:204:22: error: invalid application of 'sizeof' to incomplete type 'struct pinctrl_pin_desc'
.pdata_size = sizeof(apl_pinctrl_pdata),
^
drivers/mfd/lpc_ich.c: In function 'lpc_ich_misc':
>> drivers/mfd/lpc_ich.c:1146:4: error: invalid use of undefined type 'struct pinctrl_pin_desc'
apl_pinctrl_pdata.name = kasprintf(GFP_KERNEL, "%u",
^
drivers/mfd/lpc_ich.c:1148:4: error: invalid use of undefined type 'struct pinctrl_pin_desc'
if (apl_pinctrl_pdata.name)
^
drivers/mfd/lpc_ich.c:1158:7: error: invalid use of undefined type 'struct pinctrl_pin_desc'
apl_pinctrl_pdata.name, ret);
^
drivers/mfd/lpc_ich.c:1160:4: error: invalid use of undefined type 'struct pinctrl_pin_desc'
kfree(apl_pinctrl_pdata.name);
^

vim +204 drivers/mfd/lpc_ich.c

198 };
199
200 static struct mfd_cell apl_gpio_devices = {
201 .name = "apl-pinctrl",
202 .num_resources = ARRAY_SIZE(apl_gpio_io_res),
203 .resources = apl_gpio_io_res[1],
> 204 .pdata_size = sizeof(apl_pinctrl_pdata),
205 .platform_data = &apl_pinctrl_pdata,
206 .ignore_resource_conflicts = true,
207 };

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data