]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mtd: onenand: Use a better name for samsung driver
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 30 Dec 2019 17:31:02 +0000 (18:31 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 21 Jan 2020 19:00:35 +0000 (20:00 +0100)
Commit 55ed51fff224 ("{tty: serial, nand: onenand}: samsung: rename to
fix build warning") has changed the samsung.c driver to be
samsung_mtd.c in order to avoid a conflict in module names with the
tty driver.

Since the *_mtd suffix is very undescriptive, rename it to
onenand_samsung.c, following the folder's convention. Same will be
applied to the omap2 onenand driver.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/onenand/Makefile
drivers/mtd/nand/onenand/onenand_samsung.c [moved from drivers/mtd/nand/onenand/samsung_mtd.c with 100% similarity]

index a27b635eb23a2f9a19590b974c156c8ebf03a9a5..0f2f460adbe40ae7175c0bc7c7867769377959c9 100644 (file)
@@ -9,6 +9,6 @@ obj-$(CONFIG_MTD_ONENAND)               += onenand.o
 # Board specific.
 obj-$(CONFIG_MTD_ONENAND_GENERIC)      += generic.o
 obj-$(CONFIG_MTD_ONENAND_OMAP2)                += omap2.o
-obj-$(CONFIG_MTD_ONENAND_SAMSUNG)       += samsung_mtd.o
+obj-$(CONFIG_MTD_ONENAND_SAMSUNG)       += onenand_samsung.o
 
 onenand-objs = onenand_base.o onenand_bbt.o