projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2202807
)
mtd: rawnand: sharpsl: add include guard to linux/mtd/sharpsl.h
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Tue, 20 Aug 2019 02:50:57 +0000
(11:50 +0900)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Mon, 26 Aug 2019 07:25:41 +0000
(09:25 +0200)
Add a header include guard just in case.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/sharpsl.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/sharpsl.h
b/include/linux/mtd/sharpsl.h
index 01306ebe266dad9421f09d545ac6389cb6f56eda..d2c3cf29e0d17ca03b2552dfca9f78890b6c02da 100644
(file)
--- a/
include/linux/mtd/sharpsl.h
+++ b/
include/linux/mtd/sharpsl.h
@@
-5,6
+5,9
@@
* Copyright (C) 2008 Dmitry Baryshkov
*/
+#ifndef _MTD_SHARPSL_H
+#define _MTD_SHARPSL_H
+
#include <linux/mtd/rawnand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/partitions.h>
@@
-16,3
+19,5
@@
struct sharpsl_nand_platform_data {
unsigned int nr_partitions;
const char *const *part_parsers;
};
+
+#endif /* _MTD_SHARPSL_H */