Re: [PATCH] physmap_of: ensure versatile code is reachable

2016-04-27 Thread Brian Norris
On Tue, Apr 26, 2016 at 01:04:38AM +0200, Arnd Bergmann 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]

Re: [PATCH] physmap_of: ensure versatile code is reachable

2016-04-27 Thread Brian Norris
On Tue, Apr 26, 2016 at 01:04:38AM +0200, Arnd Bergmann 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]

Re: [PATCH] physmap_of: ensure versatile code is reachable

2016-04-26 Thread Linus Walleij
On Tue, Apr 26, 2016 at 1:04 AM, Arnd Bergmann 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]

Re: [PATCH] physmap_of: ensure versatile code is reachable

2016-04-26 Thread Linus Walleij
On Tue, Apr 26, 2016 at 1:04 AM, Arnd Bergmann 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! > >

[PATCH] physmap_of: ensure versatile code is reachable

2016-04-25 Thread Arnd Bergmann
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

[PATCH] physmap_of: ensure versatile code is reachable

2016-04-25 Thread Arnd Bergmann
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