From ebd2763312f1c36fd0f6e7136c5a19c16e040435 Mon Sep 17 00:00:00 2001
From: Mike Nicholson <mike.nicholson@multitech.com>
Date: Thu, 20 Dec 2018 13:01:48 -0600
Subject: Add AT91 PIN definitions for legacy API

---
 io-module/mtcap.c | 1 +
 io-module/mtcdt.c | 1 +
 io-module/mths.c  | 2 +-
 io-module/mtr.c   | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

(limited to 'io-module')

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",
-- 
cgit v1.2.3