diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-09-07 00:38:48 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-10-03 11:12:25 +0200 |
commit | 348d56a8c6067f3b2f1799d6f050f3be4bf5904b (patch) | |
tree | f5e81400b79a503dd6b6eae962c1398b7136e471 /drivers/mtd/nand/raw/nand_samsung.c | |
parent | 462f35d3e5e805657b48c76d3e7dd1c37e0ac62c (diff) | |
download | blackbird-op-linux-348d56a8c6067f3b2f1799d6f050f3be4bf5904b.tar.gz blackbird-op-linux-348d56a8c6067f3b2f1799d6f050f3be4bf5904b.zip |
mtd: rawnand: Keep all internal stuff private
A lot of things defined in rawnand.h should not be exposed to NAND
controller drivers and should only be shared by core files.
Create the drivers/mtd/nand/raw/internals.h header to store such
definitions, and move all private defs to this header.
Also remove EXPORT_SYMBOLS() on functions that are not supposed to be
exposed.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/nand_samsung.c')
-rw-r--r-- | drivers/mtd/nand/raw/nand_samsung.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/nand_samsung.c b/drivers/mtd/nand/raw/nand_samsung.c index ef022f62f74c..e46d4c492ad8 100644 --- a/drivers/mtd/nand/raw/nand_samsung.c +++ b/drivers/mtd/nand/raw/nand_samsung.c @@ -15,7 +15,7 @@ * GNU General Public License for more details. */ -#include <linux/mtd/rawnand.h> +#include "internals.h" static void samsung_nand_decode_id(struct nand_chip *chip) { |