]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: physmap_of: really fix the physmap add-ons
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Mar 2017 15:36:39 +0000 (17:36 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 19 Apr 2017 18:46:00 +0000 (11:46 -0700)
commit9f19e1673cdbf4ee9aa28400b9cc837539f6061f
tree72b128f550395480cadb102e7d19c6669d31548c
parent0751329e67f7d434d7edd589581d2e96c3304377
mtd: physmap_of: really fix the physmap add-ons

The current way of building the of_physmap add-ons result in just
the add-on being in the object code, and not the actual core
implementation and regress the Gemini and Versatile.

Bake the physmap_of.o object by baking physmap_of_core.o and
adding the Versatile and/or Gemini add-ons to the final object.
Rename the source file physmap_of_core.c to get the desired
build components.

Suggested-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Fixes: eefadbca7ee4 ("mtd: physmap_of: fixup gemini/versatile dependencies")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/maps/Makefile
drivers/mtd/maps/physmap_of.c [deleted file]
drivers/mtd/maps/physmap_of_core.c [new file with mode: 0644]