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

From: Linus Walleij
Date: Wed May 27 2020 - 09:42:31 EST


On Wed, May 27, 2020 at 3:32 PM Arnd Bergmann <arnd@xxxxxxxx> 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 that links to this only if the dependency is there,
> and prevent the configuration where the drm driver is built-in but
> the config is a loadable module.
>
> Fixes: 826fc86b5903 ("drm: pl111: Move VExpress setup into versatile init")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Rob will you apply this directly to the drm tree?

Yours,
Linus Walleij