summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Nicholson <mike.nicholson@multitech.com>2018-12-20 13:01:48 -0600
committerMike Nicholson <mike.nicholson@multitech.com>2018-12-20 13:01:48 -0600
commitebd2763312f1c36fd0f6e7136c5a19c16e040435 (patch)
tree1581f4c17a5e772a91327fb15a732153ed8238ea
parent21895f2ea9b0bb1cce48da23918cdd8cb20cc0d1 (diff)
downloadmts-io-ebd2763312f1c36fd0f6e7136c5a19c16e040435.tar.gz
mts-io-ebd2763312f1c36fd0f6e7136c5a19c16e040435.tar.bz2
mts-io-ebd2763312f1c36fd0f6e7136c5a19c16e040435.zip
Add AT91 PIN definitions for legacy API
-rw-r--r--io-module/mtcap.c1
-rw-r--r--io-module/mtcdt.c1
-rw-r--r--io-module/mths.c2
-rw-r--r--io-module/mtr.c1
4 files changed, 4 insertions, 1 deletions
diff --git a/io-module/mtcap.c b/io-module/mtcap.c
index 7409c2f..bd08d5a 100644
--- a/io-module/mtcap.c
+++ b/io-module/mtcap.c
@@ -1,3 +1,4 @@
+#include "at91gpio.h"
/* Used for both MTCAP 0.0 and 0.1 */
static struct gpio_pin gpio_pins_mtcap_0_0[] = {
{
diff --git a/io-module/mtcdt.c b/io-module/mtcdt.c
index 318eb7f..ecc97d5 100644
--- a/io-module/mtcdt.c
+++ b/io-module/mtcdt.c
@@ -1,3 +1,4 @@
+#include "at91gpio.h"
/*
* Within a struct gpio_pin, there is only one
* occurrence of each pin, so there is only one
diff --git a/io-module/mths.c b/io-module/mths.c
index 36f4325..739a9a0 100644
--- a/io-module/mths.c
+++ b/io-module/mths.c
@@ -4,7 +4,7 @@
* Created on: Apr 26, 2018
* Author: leonid
*/
-
+#include "at91gpio.h"
#include "buttons.h"
static struct gpio_pin gpio_pins_mths_0_0[] = {
diff --git a/io-module/mtr.c b/io-module/mtr.c
index 7dfc49c..0014add 100644
--- a/io-module/mtr.c
+++ b/io-module/mtr.c
@@ -1,3 +1,4 @@
+#include "at91gpio.h"
static struct gpio_pin gpio_pins_mtr_0_0[] = {
{
.name = "ETH_RESET",