mtd: maps: Prepare merging of physmap and physmap_of
authorBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 19 Oct 2018 07:49:03 +0000 (09:49 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 5 Nov 2018 21:24:20 +0000 (22:24 +0100)
commit0c3def9b58d85ea8a8a8773d1151d8d554842d0a
treed4a8735ed73fb18ef4b064b22de2018153cf79bf
parentcb946bf6aaeb7c8151b18924d81370ffe6b7441b
mtd: maps: Prepare merging of physmap and physmap_of

We want to merge the physmap and physmap_of driver, but before we can
do that we must prepare things to create physmap.o out of several .c
files. Rename physmap.c into physmap-core.c and add a new Makefile
rule to create physmap.o (right now it only contains physmap-core.o).

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mtd/maps/Makefile
drivers/mtd/maps/physmap-core.c [new file with mode: 0644]
drivers/mtd/maps/physmap.c [deleted file]