lkml.org 
[lkml]   [2016]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/gpio/gpio-mcp23s08.c:568:11: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
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
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.019 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site