diff options
| author | Amelie Delaunay <[email protected]> | 2019-05-24 07:32:05 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2019-05-24 08:09:28 +0000 |
| commit | ec2e0f4f00c0b9260533555c69363454dfd3bd73 (patch) | |
| tree | cfac30cbdea09c09332d2762c96536fa973fa093 /tools/perf/scripts/python/compaction-times.py | |
| parent | Linux 5.2-rc1 (diff) | |
| download | kernel-ec2e0f4f00c0b9260533555c69363454dfd3bd73.tar.gz kernel-ec2e0f4f00c0b9260533555c69363454dfd3bd73.zip | |
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 <[email protected]>
Signed-off-by: Amelie Delaunay <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
