From: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
To: Sui Jingfeng <suijingfeng@loongson.cn>
Cc: David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
Date: Thu, 8 Jun 2023 09:15:29 +0200 [thread overview]
Message-ID: <ZIGAEZTJvq1GqFVD@aptenodytes> (raw)
In-Reply-To: <20230608024207.581401-1-suijingfeng@loongson.cn>
[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]
Hi,
On Thu 08 Jun 23, 10:42, Sui Jingfeng wrote:
> drm/logicvc driver is depend on REGMAP and REGMAP_MMIO, should select this
> two kconfig option, otherwise the driver failed to compile on platform
> without REGMAP_MMIO selected:
>
> ERROR: modpost: "__devm_regmap_init_mmio_clk" [drivers/gpu/drm/logicvc/logicvc-drm.ko] undefined!
> make[1]: *** [scripts/Makefile.modpost:136: Module.symvers] Error 1
> make: *** [Makefile:1978: modpost] Error 2
>
> Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Thanks for the fix, looks good to me!
Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Cheers,
Paul
> ---
> drivers/gpu/drm/logicvc/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/logicvc/Kconfig b/drivers/gpu/drm/logicvc/Kconfig
> index fa7a88368809..1df22a852a23 100644
> --- a/drivers/gpu/drm/logicvc/Kconfig
> +++ b/drivers/gpu/drm/logicvc/Kconfig
> @@ -5,5 +5,7 @@ config DRM_LOGICVC
> select DRM_KMS_HELPER
> select DRM_KMS_DMA_HELPER
> select DRM_GEM_DMA_HELPER
> + select REGMAP
> + select REGMAP_MMIO
> help
> DRM display driver for the logiCVC programmable logic block from Xylon
> --
> 2.25.1
>
--
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2023-06-08 7:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 2:42 [PATCH v2] drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO Sui Jingfeng
2023-06-08 7:15 ` Paul Kocialkowski [this message]
2023-06-08 7:24 ` Sui Jingfeng
2023-06-08 9:31 ` Andi Shyti
2023-06-08 9:43 ` Sui Jingfeng
2023-06-20 3:56 ` Sui Jingfeng
2023-10-25 10:11 ` Paul Kocialkowski
2023-10-25 14:06 ` Sui Jingfeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZIGAEZTJvq1GqFVD@aptenodytes \
--to=paul.kocialkowski@bootlin.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=suijingfeng@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox