aboutsummaryrefslogtreecommitdiffstats
path: root/tools/missing-macros
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2018-02-22 11:04:28 +0000
committerJohn Crispin <john@phrozen.org>2018-03-13 08:34:58 +0100
commitcff2dedebc665dc1d3d64d850afd0124c6d35eaa (patch)
treeeb5eecbb90f31a28b855b7b3b42f0cc5c0c3746a /tools/missing-macros
parent4fd87220567f1ae3ad209da1f602dc81c6b4d6b1 (diff)
downloadupstream-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 'tools/missing-macros')
0 files changed, 0 insertions, 0 deletions