tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel head: 483618b353608e585d3ed5f72b8e230f4c97f544 commit: 457cc93546d9e8aeda4fe50c019615644c6767c7 [20/40] gpio: wm831x: Add basic device tree support config: x86_64-randconfig-x004-201711 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 457cc93546d9e8aeda4fe50c019615644c6767c7 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/gpio/gpio-wm831x.c: In function 'wm831x_gpio_probe': >> drivers/gpio/gpio-wm831x.c:266:38: error: 'struct wm831x' has no member named 'pdata' struct wm831x_pdata *pdata = &wm831x->pdata; ^~ vim +266 drivers/gpio/gpio-wm831x.c 260 .can_sleep = true, 261 }; 262 263 static int wm831x_gpio_probe(struct platform_device *pdev) 264 { 265 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); > 266 struct wm831x_pdata *pdata = &wm831x->pdata; 267 struct wm831x_gpio *wm831x_gpio; 268 int ret; 269 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip