aboutsummaryrefslogtreecommitdiff
path: root/board/altera
diff options
context:
space:
mode:
Diffstat (limited to 'board/altera')
-rw-r--r--board/altera/nios2-generic/gpio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/altera/nios2-generic/gpio.c b/board/altera/nios2-generic/gpio.c
index d4496843fa6..8c639ce360a 100644
--- a/board/altera/nios2-generic/gpio.c
+++ b/board/altera/nios2-generic/gpio.c
@@ -20,6 +20,11 @@ int gpio_request(unsigned gpio, const char *label)
return 0;
}
+int gpio_free(unsigned gpio)
+{
+ return 0;
+}
+
int gpio_direction_input(unsigned gpio)
{
u32 mask = 1 << gpio;