Hi Linus, After merging the gpio tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpio/gpio-mcp23s08.c: In function 'mcp23s08_irq_setup': drivers/gpio/gpio-mcp23s08.c:482:46: error: 'struct gpio_chip' has no member named 'of_node' mcp->irq_domain = irq_domain_add_linear(chip->of_node, chip->ngpio, ^ drivers/gpio/gpio-mcp23s08.c: In function 'mcp23s08_probe_one': drivers/gpio/gpio-mcp23s08.c:651:55: error: 'struct gpio_chip' has no member named 'of_node' mcp->irq_controller = of_property_read_bool(mcp->chip.of_node, ^ drivers/gpio/gpio-mcp23s08.c:654:43: error: 'struct gpio_chip' has no member named 'of_node' mirror = of_property_read_bool(mcp->chip.of_node, ^ Caused by commit 4e47f91bf741 ("gpio: mcp23s08: Add irq functionality for i2c chips"). The presence of of_node depends on CONFIG_OF_GPIO. I have reverted that commit for today. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgpKHAPJMFyQp.pgp
Description: PGP signature