summaryrefslogtreecommitdiff
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-20 05:50:57 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-08-26 10:25:41 +0300
commit3342d2f88ef9519c58d76004afb2c8fd93b3e418 (patch)
tree98ef1873985f106c9873d4f84b606bda85f196b2 /include/linux/mtd
parent220280708a2349bc8dd61ab029483d65440a5aa0 (diff)
downloadlinux-3342d2f88ef9519c58d76004afb2c8fd93b3e418.tar.xz
mtd: rawnand: sharpsl: add include guard to linux/mtd/sharpsl.h
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>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/sharpsl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h
index 01306ebe266d..d2c3cf29e0d1 100644
--- 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 */