diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/gpio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/gpio.c b/src/lib/gpio.c index b0a5f4dfc3..81d6f6bbad 100644 --- a/src/lib/gpio.c +++ b/src/lib/gpio.c @@ -145,3 +145,9 @@ __attribute__((weak)) const char *gpio_acpi_path(gpio_t gpio) { return NULL; } + +/* Default handler returns 0 because type of gpio_t is unknown */ +__attribute__((weak)) uint16_t gpio_acpi_pin(gpio_t gpio) +{ + return 0; +} |