Re: [PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

2020-05-28 Thread Rob Herring
On Wed, May 27, 2020 at 7:32 AM Arnd Bergmann wrote: > > The vexpress_config code fails to link in some configurations: > > drivers/gpu/drm/pl111/pl111_versatile.o: in function `pl111_versatile_init': > (.text+0x1f0): undefined reference to `devm_regmap_init_vexpress_config' > > Add a dependency t

Re: [PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

2020-05-27 Thread Arnd Bergmann
On Wed, May 27, 2020 at 7:50 PM Sam Ravnborg wrote: > On Wed, May 27, 2020 at 05:47:21PM +0200, Arnd Bergmann wrote: > > On Wed, May 27, 2020 at 4:52 PM Sam Ravnborg wrote: > > > > > > Hi Arnd. > > > > > > On Wed, May 27, 2020 at 03:31:42PM +0200, Arnd Bergmann wrote: > > > > The vexpress_config

Re: [PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

2020-05-27 Thread Sam Ravnborg
Hi Arnd. On Wed, May 27, 2020 at 05:47:21PM +0200, Arnd Bergmann wrote: > On Wed, May 27, 2020 at 4:52 PM Sam Ravnborg wrote: > > > > Hi Arnd. > > > > On Wed, May 27, 2020 at 03:31:42PM +0200, Arnd Bergmann wrote: > > > The vexpress_config code fails to link in some configurations: > > > > > > dr

Re: [PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

2020-05-27 Thread Arnd Bergmann
On Wed, May 27, 2020 at 4:52 PM Sam Ravnborg wrote: > > Hi Arnd. > > On Wed, May 27, 2020 at 03:31:42PM +0200, Arnd Bergmann wrote: > > The vexpress_config code fails to link in some configurations: > > > > drivers/gpu/drm/pl111/pl111_versatile.o: in function `pl111_versatile_init': > > (.text+0x1

Re: [PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

2020-05-27 Thread Sam Ravnborg
Hi Arnd. On Wed, May 27, 2020 at 03:31:42PM +0200, Arnd Bergmann wrote: > The vexpress_config code fails to link in some configurations: > > drivers/gpu/drm/pl111/pl111_versatile.o: in function `pl111_versatile_init': > (.text+0x1f0): undefined reference to `devm_regmap_init_vexpress_config' > >

Re: [PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

2020-05-27 Thread Linus Walleij
On Wed, May 27, 2020 at 3:32 PM Arnd Bergmann wrote: > The vexpress_config code fails to link in some configurations: > > drivers/gpu/drm/pl111/pl111_versatile.o: in function `pl111_versatile_init': > (.text+0x1f0): undefined reference to `devm_regmap_init_vexpress_config' > > Add a dependency tha

[PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

2020-05-27 Thread Arnd Bergmann
The vexpress_config code fails to link in some configurations: drivers/gpu/drm/pl111/pl111_versatile.o: in function `pl111_versatile_init': (.text+0x1f0): undefined reference to `devm_regmap_init_vexpress_config' Add a dependency that links to this only if the dependency is there, and prevent the