Home
last modified time | relevance | path

Searched hist:ec2e0f4f00c0b9260533555c69363454dfd3bd73 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/pinctrl/
H A DKconfigdiff ec2e0f4f00c0b9260533555c69363454dfd3bd73 Fri May 24 09:32:05 CEST 2019 Amelie Delaunay <amelie.delaunay@st.com> pinctrl: stmfx: Fix compile issue when CONFIG_OF_GPIO is not defined

When CONFIG_GPIO_OF is not defined, struct gpio_chip 'of_node' member does
not exist:
drivers/pinctrl/pinctrl-stmfx.c: In function 'stmfx_pinctrl_probe':
drivers/pinctrl/pinctrl-stmfx.c:652:17: error: 'struct gpio_chip' has no member named 'of_node'
pctl->gpio_chip.of_node = np;

Fixes: 1490d9f841b1 ("pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>