diff options
| author | Boris Brezillon <[email protected]> | 2017-08-04 17:29:10 +0200 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2017-08-13 10:11:49 +0200 |
| commit | d4092d76a4a4e57b65910899948a83cc8646c5a5 (patch) | |
| tree | 2516c3bf0b5ea83ea87ee561e19f13cb75221ac4 /include/linux/mtd | |
| parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
mtd: nand: Rename nand.h into rawnand.h
We are planning to share more code between different NAND based
devices (SPI NAND, OneNAND and raw NANDs), but before doing that
we need to move the existing include/linux/mtd/nand.h file into
include/linux/mtd/rawnand.h so we can later create a nand.h header
containing all common structure and function prototypes.
Signed-off-by: Boris Brezillon <[email protected]>
Signed-off-by: Peter Pan <[email protected]>
Acked-by: Vladimir Zapolskiy <[email protected]>
Acked-by: Alexander Sverdlin <[email protected]>
Acked-by: Wenyou Yang <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Han Xu <[email protected]>
Acked-by: H Hartley Sweeten <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Acked-by: Gregory CLEMENT <[email protected]>
Acked-by: Neil Armstrong <[email protected]>
Acked-by: Masahiro Yamada <[email protected]>
Acked-By: Harvey Hunt <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Acked-by: Krzysztof Halasa <[email protected]>
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/nand-gpio.h | 2 | ||||
| -rw-r--r-- | include/linux/mtd/rawnand.h (renamed from include/linux/mtd/nand.h) | 8 | ||||
| -rw-r--r-- | include/linux/mtd/sh_flctl.h | 2 | ||||
| -rw-r--r-- | include/linux/mtd/sharpsl.h | 2 |
4 files changed, 6 insertions, 8 deletions
diff --git a/include/linux/mtd/nand-gpio.h b/include/linux/mtd/nand-gpio.h index 51534e50f7fc..be4f45d89be2 100644 --- a/include/linux/mtd/nand-gpio.h +++ b/include/linux/mtd/nand-gpio.h @@ -1,7 +1,7 @@ #ifndef __LINUX_MTD_NAND_GPIO_H #define __LINUX_MTD_NAND_GPIO_H -#include <linux/mtd/nand.h> +#include <linux/mtd/rawnand.h> struct gpio_nand_platdata { int gpio_nce; diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/rawnand.h index 892148c448cc..b371dc0914a7 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/rawnand.h @@ -1,6 +1,4 @@ /* - * linux/include/linux/mtd/nand.h - * * Copyright © 2000-2010 David Woodhouse <[email protected]> * Steven J. Hill <[email protected]> * Thomas Gleixner <[email protected]> @@ -15,8 +13,8 @@ * Changelog: * See git changelog. */ -#ifndef __LINUX_MTD_NAND_H -#define __LINUX_MTD_NAND_H +#ifndef __LINUX_MTD_RAWNAND_H +#define __LINUX_MTD_RAWNAND_H #include <linux/wait.h> #include <linux/spinlock.h> @@ -1328,4 +1326,4 @@ void nand_cleanup(struct nand_chip *chip); /* Default extended ID decoding function */ void nand_decode_ext_id(struct nand_chip *chip); -#endif /* __LINUX_MTD_NAND_H */ +#endif /* __LINUX_MTD_RAWNAND_H */ diff --git a/include/linux/mtd/sh_flctl.h b/include/linux/mtd/sh_flctl.h index 2251add65fa7..c759d403cbc0 100644 --- a/include/linux/mtd/sh_flctl.h +++ b/include/linux/mtd/sh_flctl.h @@ -22,7 +22,7 @@ #include <linux/completion.h> #include <linux/mtd/mtd.h> -#include <linux/mtd/nand.h> +#include <linux/mtd/rawnand.h> #include <linux/mtd/partitions.h> #include <linux/pm_qos.h> diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 65e91d0fa981..72a79c7d0e08 100644 --- a/include/linux/mtd/sharpsl.h +++ b/include/linux/mtd/sharpsl.h @@ -8,7 +8,7 @@ * published by the Free Software Foundation. */ -#include <linux/mtd/nand.h> +#include <linux/mtd/rawnand.h> #include <linux/mtd/nand_ecc.h> #include <linux/mtd/partitions.h> |