Skip to content

Commit

Permalink
mtd: onenand: Use a better name for samsung driver
Browse files Browse the repository at this point in the history
Commit 55ed51f ("{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>
  • Loading branch information
Miquel Raynal committed Jan 21, 2020
1 parent 7a95a72 commit 446b6dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/onenand/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
File renamed without changes.

0 comments on commit 446b6dc

Please sign in to comment.