[PATCH] drm: pl111: add CONFIG_VEXPRESS_CONFIG dependency

Linus Walleij linus.walleij at linaro.org
Wed May 27 13:42:16 UTC 2020


On Wed, May 27, 2020 at 3:32 PM Arnd Bergmann <arnd at arndb.de> 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 at arndb.de>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Rob will you apply this directly to the drm tree?

Yours,
Linus Walleij


More information about the dri-devel mailing list