Fixes for recent header file reorganization

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2452 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-12-29 00:48:56 +00:00
parent 688f37574e
commit 9ddfe686ab
11 changed files with 22 additions and 9 deletions

View File

@ -40,9 +40,11 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdint.h> #include <stdint.h>
#include <assert.h>
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <assert.h> #include <arch/board/board.h>
#include "up_arch.h" #include "up_arch.h"
#include "os_internal.h" #include "os_internal.h"

View File

@ -50,13 +50,14 @@
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <arch/board/board.h>
#include <net/uip/uip.h> #include <net/uip/uip.h>
#include <net/uip/uip-arp.h> #include <net/uip/uip-arp.h>
#include <net/uip/uip-arch.h> #include <net/uip/uip-arch.h>
#include "up_arch.h"
#include "chip.h" #include "chip.h"
#include "up_arch.h"
#include "lm3s_internal.h" #include "lm3s_internal.h"
/**************************************************************************** /****************************************************************************

View File

@ -40,10 +40,12 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdint.h> #include <stdint.h>
#include "up_internal.h" #include <arch/board/board.h>
#include "up_arch.h"
#include "chip.h" #include "chip.h"
#include "up_arch.h"
#include "up_internal.h"
#include "lm3s_internal.h" #include "lm3s_internal.h"
/************************************************************************** /**************************************************************************

View File

@ -45,6 +45,7 @@
#include <debug.h> #include <debug.h>
#include <nuttx/init.h> #include <nuttx/init.h>
#include <arch/board/board.h>
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"

View File

@ -274,7 +274,7 @@ static int stm32_dmainterrupt(int irq, void *context)
{ {
struct stm32_dma_s *dmach; struct stm32_dma_s *dmach;
uint32_t isr; uint32_t isr;
int chndx; int chndx = 0;
/* Get the channel structure from the interrupt number */ /* Get the channel structure from the interrupt number */
@ -502,7 +502,6 @@ void stm32_dmasetup(DMA_HANDLE handle, uint32_t paddr, uint32_t maddr, size_t nt
void stm32_dmastart(DMA_HANDLE handle, dma_callback_t callback, void *arg, bool half) void stm32_dmastart(DMA_HANDLE handle, dma_callback_t callback, void *arg, bool half)
{ {
struct stm32_dma_s *dmach = (struct stm32_dma_s *)handle; struct stm32_dma_s *dmach = (struct stm32_dma_s *)handle;
int irq;
uint32_t ccr; uint32_t ccr;
DEBUGASSERT(handle != NULL); DEBUGASSERT(handle != NULL);

View File

@ -40,6 +40,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdint.h> #include <stdint.h>
#include <arch/board/board.h> #include <arch/board/board.h>
#include "up_internal.h" #include "up_internal.h"

View File

@ -53,10 +53,13 @@
#include <nuttx/sdio.h> #include <nuttx/sdio.h>
#include <nuttx/wqueue.h> #include <nuttx/wqueue.h>
#include <nuttx/mmcsd.h> #include <nuttx/mmcsd.h>
#include <arch/irq.h> #include <arch/irq.h>
#include <arch/board/board.h>
#include "chip.h" #include "chip.h"
#include "up_arch.h" #include "up_arch.h"
#include "stm32_internal.h" #include "stm32_internal.h"
#include "stm32_dma.h" #include "stm32_dma.h"
#include "stm32_sdio.h" #include "stm32_sdio.h"

View File

@ -51,7 +51,9 @@
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/serial.h> #include <nuttx/serial.h>
#include <arch/serial.h> #include <arch/serial.h>
#include <arch/board/board.h>
#include "chip.h" #include "chip.h"
#include "stm32_uart.h" #include "stm32_uart.h"

View File

@ -68,10 +68,11 @@
#include <errno.h> #include <errno.h>
#include <debug.h> #include <debug.h>
#include <arch/board/board.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/spi.h> #include <nuttx/spi.h>
#include <arch/board/board.h>
#include "up_internal.h" #include "up_internal.h"
#include "up_arch.h" #include "up_arch.h"

View File

@ -45,9 +45,11 @@
#include <debug.h> #include <debug.h>
#include <nuttx/init.h> #include <nuttx/init.h>
#include <arch/board/board.h>
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"
#include "stm32_internal.h" #include "stm32_internal.h"
/**************************************************************************** /****************************************************************************

View File

@ -3454,7 +3454,6 @@ void up_usbuninitialize(void)
*/ */
struct stm32_usbdev_s *priv = &g_usbdev; struct stm32_usbdev_s *priv = &g_usbdev;
uint16_t regval;
irqstate_t flags; irqstate_t flags;
usbtrace(TRACE_DEVUNINIT, 0); usbtrace(TRACE_DEVUNINIT, 0);