ramdisk.h moved from include/fs/nuttx/ to include/nuttx/drivers.

This commit is contained in:
Gregory Nutt 2016-07-20 14:02:18 -06:00
parent 46dbbe837e
commit ee9c66186c
15 changed files with 21 additions and 21 deletions

View file

@ -44,7 +44,7 @@
#include <string.h>
#include <errno.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include "up_internal.h"

View file

@ -49,7 +49,7 @@
#include <nuttx/kmalloc.h>
#include <nuttx/poff.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/binfmt/binfmt.h>
#include <nuttx/binfmt/pcode.h>

View file

@ -50,7 +50,7 @@
#include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h>
#include <nuttx/fs/mkfatfs.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
/****************************************************************************
* Pre-processor Definitions

View file

@ -50,7 +50,7 @@
#include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h>
#include <nuttx/fs/mkfatfs.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
/****************************************************************************
* Pre-processor Definitions

View file

@ -50,7 +50,7 @@
# include <nuttx/usb/usbmonitor.h>
#endif
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/binfmt/elf.h>
#include <nuttx/i2c/i2c_master.h>

View file

@ -51,7 +51,7 @@
#endif
#include <nuttx/drivers/drivers.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/fs/nxffs.h>
#include <nuttx/binfmt/elf.h>
#include <nuttx/i2c/i2c_master.h>

View file

@ -51,7 +51,7 @@
#endif
#include <nuttx/drivers/drivers.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/fs/nxffs.h>
#include <nuttx/binfmt/elf.h>
#include <nuttx/i2c/i2c_master.h>

View file

@ -90,7 +90,7 @@ int sim_bringup(void);
*
* - First, a ROM disk device must be created. This is done by calling
* the function romdisk_register() as described in
* nuttx/include/nuttx/fs/ramdisk.h. This is an OS level operation
* nuttx/include/nuttx/drivers/ramdisk.h. This is an OS level operation
* and must be done in the board-level logic before your appliction
* starts.
*

View file

@ -44,7 +44,7 @@
#include <stdlib.h>
#include <errno.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/zoneinfo.h>
#ifdef CONFIG_LIB_ZONEINFO_ROMFS
@ -97,7 +97,7 @@
*
* - First, a ROM disk device must be created. This is done by calling
* the function romdisk_register() as described in
* nuttx/include/nuttx/fs/ramdisk.h. This is an OS level operation
* nuttx/include/nuttx/drivers/ramdisk.h. This is an OS level operation
* and must be done in the board-level logic before your appliction
* starts.
*

View file

@ -59,7 +59,7 @@
#include <arch/board/boardctl.h>
#include <nuttx/drivers/drivers.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/fs/nxffs.h>
#include <nuttx/fs/mkfatfs.h>
#include <nuttx/binfmt/elf.h>

View file

@ -141,7 +141,7 @@ config RAMDISK
---help---
Can be used to set up a block of memory or (read-only) FLASH as
a block driver that can be mounted as a files system. See
include/nuttx/fs/ramdisk.h.
include/nuttx/drivers/ramdisk.h.
menuconfig CAN
bool "CAN Driver Support"

View file

@ -30,7 +30,7 @@ pwm.c
ramdisk.c
Can be used to set up a block of memory or (read-only) FLASH as
a block driver that can be mounted as a files system. See
include/nuttx/fs/ramdisk.h.
include/nuttx/drivers/ramdisk.h.
rwbuffer.c
A facility that can be use by any block driver in-order to add

View file

@ -51,7 +51,7 @@
#include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
/****************************************************************************
* Pre-processor Definitions

View file

@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/fs/ramdisk.h
* include/nuttx/drivers/ramdisk.h
*
* Copyright (C) 2008-2009, 2012-2013, 2015 Gregory Nutt. All rights reserved.
* Copyright (C) 2008-2009, 2012-2013, 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __INCLUDE_NUTTX_FS_RAMDISK_H
#define __INCLUDE_NUTTX_FS_RAMDISK_H
#ifndef __INCLUDE_NUTTX_DRIVERS_RAMDISK_H
#define __INCLUDE_NUTTX_DRIVERS_RAMDISK_H
/****************************************************************************
* Included Files
@ -105,4 +105,4 @@ int romdisk_register(int minor, FAR const uint8_t *buffer, uint32_t nsectors,
}
#endif
#endif /* __INCLUDE_NUTTX_FS_RAMDISK_H */
#endif /* __INCLUDE_NUTTX_DRIVERS_RAMDISK_H */

View file

@ -23,7 +23,7 @@ doing this:
- First, a ROM disk device must be created. This is done by calling
the function romdisk_register() as described in
nuttx/include/nuttx/fs/ramdisk.h. This is an OS level operation
nuttx/include/nuttx/drivers/ramdisk.h. This is an OS level operation
and must be done in the board-level logic before your application
starts.
@ -114,7 +114,7 @@ Sample Code to Mount the ROMFS Filesystem
#include <stdlib.h>
#include <errno.h>
#include <nuttx/fs/ramdisk.h>
#include <nuttx/drivers/ramdisk.h>
#include <nuttx/zoneinfo.h>
/****************************************************************************