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

This commit is contained in:
Gregory Nutt
2015-02-27 18:49:24 -06:00
parent d80455bbce
commit f75184b5ac
144 changed files with 421 additions and 320 deletions
+5 -2
View File
@@ -1,7 +1,7 @@
/************************************************************************************
* configs/scp16c26/src/up_leds.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -38,9 +38,12 @@
************************************************************************************/
#include <nuttx/config.h>
#include <stdint.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "up_arch.h"
#include "up_internal.h"
#include "chip.h"
@@ -48,7 +51,7 @@
#ifdef CONFIG_ARCH_LEDS
/************************************************************************************
* Preprocessor Definitions
* Pre-processor Definitions
************************************************************************************/
/* The SKP62C26 has 3 LEDs control by bits 0 and 2 in port 7 and bit 0 in port 8. */