1
0
Fork 0
forked from mirror/openwrt
openwrt/target
André Draszik cff2dedebc 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>
2018-03-13 08:34:58 +01:00
..
imagebuilder imagebuilder: remove split patch dirs from imagebuilder archive 2018-03-07 09:59:08 +01:00
linux ramips: gpio: fix compilation if CONFIG_GPIO_SYSFS=n 2018-03-13 08:34:58 +01:00
sdk
toolchain
Config.in
Makefile