mtd: onenand: Rename omap2 driver to avoid a build warning
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 30 Dec 2019 17:31:03 +0000 (18:31 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 21 Jan 2020 19:00:35 +0000 (20:00 +0100)
commitd85339d9ea2660b550f12aca8bd040be4395c963
tree919df61f7ed5c2a85ba4070626593359aa84f965
parent446b6dc8d87482af53fa30d29780a78bbae1e9b8
mtd: onenand: Rename omap2 driver to avoid a build warning

As previously reported by Sudip Mukherjee for the Samsung driver, the
omap2 onenand driver is called omap2.c in our directory and omap2.c in
the tty/serial/ directory. If both drivers are compiled as modules, it
would produce the following warning:

        warning: same module names found:
            drivers/tty/serial/omap2.ko
            drivers/mtd/nand/onenand/omap2.ko

Rename the onenand omap2 driver so that it fits the folder's
convention: onenand_omap2.c.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/onenand/Makefile
drivers/mtd/nand/onenand/omap2.c [deleted file]
drivers/mtd/nand/onenand/onenand_omap2.c [new file with mode: 0644]