diff options
author | André Draszik <git@andred.net> | 2018-02-22 11:04:28 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-03-13 08:34:58 +0100 |
commit | cff2dedebc665dc1d3d64d850afd0124c6d35eaa (patch) | |
tree | eb5eecbb90f31a28b855b7b3b42f0cc5c0c3746a /target/linux/lantiq/xway_legacy | |
parent | 4fd87220567f1ae3ad209da1f602dc81c6b4d6b1 (diff) | |
download | upstream-cff2dedebc665dc1d3d64d850afd0124c6d35eaa.tar.gz upstream-cff2dedebc665dc1d3d64d850afd0124c6d35eaa.tar.bz2 upstream-cff2dedebc665dc1d3d64d850afd0124c6d35eaa.zip |
ramips: gpio: fix compilation if CONFIG_GPIO_SYSFS=n
If CONFIG_GPIO_SYSFS=n, compilation fails with
drivers/built-in.o: In function `gpio_export_with_name':
include/asm-generic/gpio.h:128: undefined reference to `__gpiod_export'
This is because the stub in that case has the wrong name,
_gpiod_export() - note the missing underscore (_) at the
start.
Fix the stub, and add the correct prototype for the real
implementation.
Signed-off-by: André Draszik <git@andred.net>
Diffstat (limited to 'target/linux/lantiq/xway_legacy')
0 files changed, 0 insertions, 0 deletions