summaryrefslogtreecommitdiff
path: root/nuttx/configs/sama5d4-ek
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-27 18:49:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-27 18:49:24 -0600
commitaa622de663e0f96c5d7d4e4bc1d977b4febe6786 (patch)
tree89836694aa47e1a642b4051ec73c415ed2909377 /nuttx/configs/sama5d4-ek
parentf29a691c031e9d277e6153eb29ecd3dedf90e950 (diff)
downloadpx4-nuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.tar.gz
px4-nuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.tar.bz2
px4-nuttx-aa622de663e0f96c5d7d4e4bc1d977b4febe6786.zip
configs/: board function prototypes are now in include/nuttx/board.h. Remove from board header file; Add inclusion of nuttx/board.h to all files referencing board functions
Diffstat (limited to 'nuttx/configs/sama5d4-ek')
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_autoleds.c3
-rw-r--r--nuttx/configs/sama5d4-ek/src/sam_boot.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/configs/sama5d4-ek/src/sam_autoleds.c b/nuttx/configs/sama5d4-ek/src/sam_autoleds.c
index be6aaa8f2..02411bd76 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_autoleds.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_autoleds.c
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/sama5d4-ek/src/sam_autoleds.c
*
- * Copyright (C) 2014 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -84,6 +84,7 @@
#include <stdbool.h>
#include <debug.h>
+#include <nuttx/board.h>
#include <arch/board/board.h>
#include "sam_pio.h"
diff --git a/nuttx/configs/sama5d4-ek/src/sam_boot.c b/nuttx/configs/sama5d4-ek/src/sam_boot.c
index d994bd52d..95aa93ed5 100644
--- a/nuttx/configs/sama5d4-ek/src/sam_boot.c
+++ b/nuttx/configs/sama5d4-ek/src/sam_boot.c
@@ -1,7 +1,7 @@
/************************************************************************************
* configs/sama5d4-ek/src/sam_boot.c
*
- * Copyright (C) 2014 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -41,6 +41,8 @@
#include <debug.h>
+#include <nuttx/board.h>
+
#include "sam_sckc.h"
#include "sama5d4-ek.h"