diff options
author | Rob Herring <robh@kernel.org> | 2021-12-01 15:43:05 -0600 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-12-03 16:00:40 +0100 |
commit | e320d9c2e900d988c82021c80a3cbff488977946 (patch) | |
tree | 20ab60a1a2ab5a7a00a4818a95cca011af27bd66 /drivers/gpio/gpiolib.c | |
parent | adc8b4bf2a7f6f513c560bb8e225d4750ce5e872 (diff) |
gpio: xlp: Fix build errors from Netlogic XLP removal
Commit ea708ac5bf41 ("gpio: xlp: Remove Netlogic XLP variants") has
build errors with CONFIG_ACPI:
drivers/gpio/gpio-xlp.c:300:23: error: 'GPIO_VARIANT_VULCAN' undeclared here (not in a function)
and !CONFIG_OF:
drivers/gpio/gpio-xlp.c:267:11: error: 'struct gpio_chip' has no member named 'of_node'
Fix these errors.
Fixes: ea708ac5bf41 ("gpio: xlp: Remove Netlogic XLP variants")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
0 files changed, 0 insertions, 0 deletions