[PATCH] physmap_of: ensure versatile code is reachable
Linus Walleij
linus.walleij at linaro.org
Tue Apr 26 07:02:51 PDT 2016
On Tue, Apr 26, 2016 at 1:04 AM, Arnd Bergmann <arnd at arndb.de> wrote:
> With the newly added physmap_of_versatile code, we get a build error
> when physmap_of is in a module, because of_flash_probe_versatile
> is not exported:
>
> ERROR: "of_flash_probe_versatile" [drivers/mtd/maps/physmap_of.ko] undefined!
>
> This adds the export, and changes the Makefile so that the code is
> also put into a loadable module rather than built-in when physmap_of
> itself is a module.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Argh how stupid of me. Strange I didn't see it on the
build servers. Anyway:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-mtd
mailing list