* drivers/gpio/gpio-mcp23s08.c:568:11: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
@ 2016-08-28 4:29 kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2016-08-28 4:29 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2443 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: af56ff27eba54fceee5f5643e79bf6531f2e1739
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM
date: 9 days ago
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
git checkout 2527ecc9195e9c66252af24c4689e8a67cd4ccb9
# save the attached .config to linux build tree
make ARCH=um
All errors (new ones prefixed by >>):
drivers/gpio/gpio-mcp23s08.c: In function 'mcp23s08_probe_one':
>> drivers/gpio/gpio-mcp23s08.c:568:11: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
mcp->chip.of_gpio_n_cells = 2;
^
>> drivers/gpio/gpio-mcp23s08.c:569:11: error: 'struct gpio_chip' has no member named 'of_node'
mcp->chip.of_node = dev->of_node;
^
vim +568 drivers/gpio/gpio-mcp23s08.c
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 562 mcp->chip.direction_input = mcp23s08_direction_input;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 563 mcp->chip.get = mcp23s08_get;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 564 mcp->chip.direction_output = mcp23s08_direction_output;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 565 mcp->chip.set = mcp23s08_set;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 566 mcp->chip.dbg_show = mcp23s08_dbg_show;
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 567 #ifdef CONFIG_OF
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 @568 mcp->chip.of_gpio_n_cells = 2;
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 @569 mcp->chip.of_node = dev->of_node;
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 570 #endif
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 571
d62b98f3 drivers/gpio/gpio-mcp23s08.c Peter Korsgaard 2011-07-15 572 switch (type) {
:::::: The code at line 568 was first introduced by commit
:::::: 97ddb1c88b4ebe057b63346660abfee165ddd468 gpio: mcp23s08: convert driver to DT
:::::: TO: Lars Poeschel <poeschel@lemonage.de>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 18015 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/gpio/gpio-mcp23s08.c:568:11: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
@ 2016-09-04 15:49 kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2016-09-04 15:49 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2494 bytes --]
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 28e68154c5e2793123b248d38cf17b34dcb16d87
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM
date: 2 weeks ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
git checkout 2527ecc9195e9c66252af24c4689e8a67cd4ccb9
# save the attached .config to linux build tree
make ARCH=um
All errors (new ones prefixed by >>):
drivers/gpio/gpio-mcp23s08.c: In function 'mcp23s08_probe_one':
>> drivers/gpio/gpio-mcp23s08.c:568:11: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
mcp->chip.of_gpio_n_cells = 2;
^
>> drivers/gpio/gpio-mcp23s08.c:569:11: error: 'struct gpio_chip' has no member named 'of_node'
mcp->chip.of_node = dev->of_node;
^
vim +568 drivers/gpio/gpio-mcp23s08.c
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 562 mcp->chip.direction_input = mcp23s08_direction_input;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 563 mcp->chip.get = mcp23s08_get;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 564 mcp->chip.direction_output = mcp23s08_direction_output;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 565 mcp->chip.set = mcp23s08_set;
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 566 mcp->chip.dbg_show = mcp23s08_dbg_show;
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 567 #ifdef CONFIG_OF
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 @568 mcp->chip.of_gpio_n_cells = 2;
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 @569 mcp->chip.of_node = dev->of_node;
97ddb1c8 drivers/gpio/gpio-mcp23s08.c Lars Poeschel 2013-04-04 570 #endif
e58b9e27 drivers/gpio/mcp23s08.c David Brownell 2008-02-04 571
d62b98f3 drivers/gpio/gpio-mcp23s08.c Peter Korsgaard 2011-07-15 572 switch (type) {
:::::: The code at line 568 was first introduced by commit
:::::: 97ddb1c88b4ebe057b63346660abfee165ddd468 gpio: mcp23s08: convert driver to DT
:::::: TO: Lars Poeschel <poeschel@lemonage.de>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 18195 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-04 7:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-28 4:29 drivers/gpio/gpio-mcp23s08.c:568:11: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells' kbuild test robot
2016-09-04 15:49 kbuild 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).