Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
615a7899
Commit
615a7899
authored
10 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
mtd.h needs forward reference to struct spi_dev_s
parent
9e21e8d9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/nuttx/mtd/mtd.h
+3
-1
3 additions, 1 deletion
include/nuttx/mtd/mtd.h
with
3 additions
and
1 deletion
include/nuttx/mtd/mtd.h
+
3
−
1
View file @
615a7899
...
...
@@ -112,7 +112,7 @@ struct mtd_dev_s
/* Erase the specified erase blocks (units are erase blocks). Semantic
* Clarification: Here, we are not referring to the erase block according
* to the FLASH data sheet. Rather, we are referring to the *smallest*
* eras
e
able part of the FLASH which may have a name like a page or sector
* erasable part of the FLASH which may have a name like a page or sector
* or subsector.
*/
...
...
@@ -219,6 +219,7 @@ FAR struct mtd_dev_s *mtd_partition(FAR struct mtd_dev_s *mtd,
* Sets the name of the specified partition.
*
****************************************************************************/
#ifdef CONFIG_MTD_PARTITION_NAMES
int
mtd_setpartitionname
(
FAR
struct
mtd_dev_s
*
mtd
,
FAR
const
char
*
name
);
#endif
...
...
@@ -301,6 +302,7 @@ FAR struct mtd_dev_s *s512_initialize(FAR struct mtd_dev_s *mtd);
*
****************************************************************************/
struct
spi_dev_s
;
/* Forward reference */
FAR
struct
mtd_dev_s
*
at45db_initialize
(
FAR
struct
spi_dev_s
*
dev
);
/****************************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment