summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-10 09:38:48 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-10 09:38:48 -0600
commit25c295c69751b8a65c692af565abe4cccfc281c4 (patch)
tree01a0127d3dc4a74974d63f6dc390c0a125fca6a0
parent9a624926254d50891f34399e245038c467233367 (diff)
downloadnuttx-25c295c69751b8a65c692af565abe4cccfc281c4.tar.gz
nuttx-25c295c69751b8a65c692af565abe4cccfc281c4.tar.bz2
nuttx-25c295c69751b8a65c692af565abe4cccfc281c4.zip
Move smart.h to include/nuttx/fs/smart.h
-rw-r--r--apps/examples/flash_test/flash_test.c2
-rw-r--r--apps/examples/smart/smart_main.c2
-rw-r--r--nuttx/ChangeLog2
-rw-r--r--nuttx/drivers/mtd/smart.c2
-rw-r--r--nuttx/fs/smartfs/smartfs.h2
-rw-r--r--nuttx/fs/smartfs/smartfs_mksmartfs.c2
-rw-r--r--nuttx/fs/smartfs/smartfs_smart.c2
-rw-r--r--nuttx/include/nuttx/fs/smart.h (renamed from nuttx/include/nuttx/smart.h)2
8 files changed, 9 insertions, 7 deletions
diff --git a/apps/examples/flash_test/flash_test.c b/apps/examples/flash_test/flash_test.c
index e6c339990..094ad4e59 100644
--- a/apps/examples/flash_test/flash_test.c
+++ b/apps/examples/flash_test/flash_test.c
@@ -46,7 +46,7 @@
#include <stdlib.h>
#include <string.h>
#include <nuttx/mtd/mtd.h>
-#include <nuttx/smart.h>
+#include <nuttx/fs/smart.h>
#include <nuttx/fs/ioctl.h>
/****************************************************************************
diff --git a/apps/examples/smart/smart_main.c b/apps/examples/smart/smart_main.c
index 114fb041a..cf57c842a 100644
--- a/apps/examples/smart/smart_main.c
+++ b/apps/examples/smart/smart_main.c
@@ -53,7 +53,7 @@
#include <debug.h>
#include <nuttx/mtd/mtd.h>
-#include <nuttx/smart.h>
+#include <nuttx/fs/smart.h>
#include <nuttx/fs/ioctl.h>
#include <nuttx/fs/mksmartfs.h>
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index 9928ba3e5..d59af9668 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -6189,4 +6189,6 @@
(2013-12-10).
* include/nuttx/video/rgbcolors.h: Move rgbcolors.h to include/nuttx/video.
(2013-12-10).
+ * include/nuttx/fs/smart.h: Move smart.h to include/fs/smart.h
+ (2013-12-10).
diff --git a/nuttx/drivers/mtd/smart.c b/nuttx/drivers/mtd/smart.c
index 542129a2e..aef11dbcf 100644
--- a/nuttx/drivers/mtd/smart.c
+++ b/nuttx/drivers/mtd/smart.c
@@ -56,7 +56,7 @@
#include <nuttx/fs/fs.h>
#include <nuttx/fs/ioctl.h>
#include <nuttx/mtd/mtd.h>
-#include <nuttx/smart.h>
+#include <nuttx/fs/smart.h>
/****************************************************************************
* Private Definitions
diff --git a/nuttx/fs/smartfs/smartfs.h b/nuttx/fs/smartfs/smartfs.h
index 6ff07ad64..22b08501d 100644
--- a/nuttx/fs/smartfs/smartfs.h
+++ b/nuttx/fs/smartfs/smartfs.h
@@ -50,7 +50,7 @@
#include <semaphore.h>
#include <nuttx/mtd/mtd.h>
-#include <nuttx/smart.h>
+#include <nuttx/fs/smart.h>
/****************************************************************************
* Pre-processor Definitions
diff --git a/nuttx/fs/smartfs/smartfs_mksmartfs.c b/nuttx/fs/smartfs/smartfs_mksmartfs.c
index 9c2dacc7e..bdf58b58b 100644
--- a/nuttx/fs/smartfs/smartfs_mksmartfs.c
+++ b/nuttx/fs/smartfs/smartfs_mksmartfs.c
@@ -49,7 +49,7 @@
#include <nuttx/fs/fs.h>
#include <nuttx/fs/mksmartfs.h>
#include <nuttx/fs/ioctl.h>
-#include <nuttx/smart.h>
+#include <nuttx/fs/smart.h>
#include "smartfs.h"
diff --git a/nuttx/fs/smartfs/smartfs_smart.c b/nuttx/fs/smartfs/smartfs_smart.c
index 43c241374..7264b3f64 100644
--- a/nuttx/fs/smartfs/smartfs_smart.c
+++ b/nuttx/fs/smartfs/smartfs_smart.c
@@ -58,7 +58,7 @@
#include <nuttx/fs/dirent.h>
#include <nuttx/fs/ioctl.h>
#include <nuttx/mtd/mtd.h>
-#include <nuttx/smart.h>
+#include <nuttx/fs/smart.h>
#include "smartfs.h"
diff --git a/nuttx/include/nuttx/smart.h b/nuttx/include/nuttx/fs/smart.h
index 7e9fafd77..7ec7de558 100644
--- a/nuttx/include/nuttx/smart.h
+++ b/nuttx/include/nuttx/fs/smart.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * include/nuttx/smart.h
+ * include/nuttx/fs/smart.h
* Sector Mapped Allocation for Really Tiny (SMART) FLASH interface
*
* Copyright (C) 2013 Ken Pettit. All rights reserved.