mtd: nand: s3c2410: Trivial cleanup in header file

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Apr 5 02:59:02 EDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=91e165030deedc612c153dfeaba294d49632ade3
Commit:     91e165030deedc612c153dfeaba294d49632ade3
Parent:     26fbf48b7a04d585d89709d9e6f1e66b8bfc5dc2
Author:     Sachin Kamat <sachin.kamat at linaro.org>
AuthorDate: Fri Feb 14 12:16:38 2014 +0530
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Mar 10 22:42:26 2014 -0700

    mtd: nand: s3c2410: Trivial cleanup in header file
    
    Commit 436d42c61c3e ("ARM: samsung: move platform_data definitions")
    moved the files to the current location but forgot to remove the pointer
    to its previous location. Clean it up. While at it also add the header
    file protection macros appropriately.
    
    Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 include/linux/platform_data/mtd-nand-s3c2410.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/include/linux/platform_data/mtd-nand-s3c2410.h b/include/linux/platform_data/mtd-nand-s3c2410.h
index b64115f..36bb921 100644
--- a/include/linux/platform_data/mtd-nand-s3c2410.h
+++ b/include/linux/platform_data/mtd-nand-s3c2410.h
@@ -1,5 +1,4 @@
-/* arch/arm/mach-s3c2410/include/mach/nand.h
- *
+/*
  * Copyright (c) 2004 Simtec Electronics
  *	Ben Dooks <ben at simtec.co.uk>
  *
@@ -10,6 +9,9 @@
  * published by the Free Software Foundation.
 */
 
+#ifndef __MTD_NAND_S3C2410_H
+#define __MTD_NAND_S3C2410_H
+
 /**
  * struct s3c2410_nand_set - define a set of one or more nand chips
  * @disable_ecc:	Entirely disable ECC - Dangerous
@@ -65,3 +67,5 @@ struct s3c2410_platform_nand {
  * it with the s3c_device_nand. This allows @nand to be __initdata.
 */
 extern void s3c_nand_set_platdata(struct s3c2410_platform_nand *nand);
+
+#endif /*__MTD_NAND_S3C2410_H */



More information about the linux-mtd-cvs mailing list