IOBs: Move from driver/iob to a better location in mm/iob

This commit is contained in:
Gregory Nutt
2017-05-09 07:34:59 -06:00
parent 407fed41ef
commit 2043e1a114
170 changed files with 238 additions and 223 deletions
@@ -1,5 +1,5 @@
/****************************************************************************
* include/nuttx/drivers/iob.h
* include/nuttx/mm/iob.h
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef _INCLUDE_NUTTX_DRIVERS_IOB_H
#define _INCLUDE_NUTTX_DRIVERS_IOB_H
#ifndef _INCLUDE_NUTTX_MM_IOB_H
#define _INCLUDE_NUTTX_MM_IOB_H
/****************************************************************************
* Included Files
@@ -45,7 +45,7 @@
#include <stdint.h>
#include <stdbool.h>
#ifdef CONFIG_DRIVERS_IOB
#ifdef CONFIG_MM_IOB
/****************************************************************************
* Pre-processor Definitions
@@ -420,6 +420,6 @@ void iob_dump(FAR const char *msg, FAR struct iob_s *iob, unsigned int len,
# define iob_dump(wrb)
#endif
#endif /* CONFIG_DRIVERS_IOB */
#endif /* _INCLUDE_NUTTX_DRIVERS_IOB_H */
#endif /* CONFIG_MM_IOB */
#endif /* _INCLUDE_NUTTX_MM_IOB_H */
+1 -1
View File
@@ -55,7 +55,7 @@
#include <stdint.h>
#include <nuttx/clock.h>
#include <nuttx/drivers/iob.h>
#include <nuttx/mm/iob.h>
#include <nuttx/net/netdev.h>
#include <nuttx/net/ieee802154.h>