Skip to content

Commit 3342d2f

Browse files
masahir0ymiquelraynal
authored andcommitted
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>
1 parent 2202807 commit 3342d2f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎include/linux/mtd/sharpsl.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Copyright (C) 2008 Dmitry Baryshkov
66
*/
77

8+
#ifndef _MTD_SHARPSL_H
9+
#define _MTD_SHARPSL_H
10+
811
#include <linux/mtd/rawnand.h>
912
#include <linux/mtd/nand_ecc.h>
1013
#include <linux/mtd/partitions.h>
@@ -16,3 +19,5 @@ struct sharpsl_nand_platform_data {
1619
unsigned int nr_partitions;
1720
const char *const *part_parsers;
1821
};
22+
23+
#endif /* _MTD_SHARPSL_H */

0 commit comments

Comments
 (0)