[PATCH v3 2/3] soc: mediatek: mtk-socinfo: Add driver for getting chip information

William-tw Lin (林鼎崴) William-tw.Lin at mediatek.com
Fri Dec 22 00:03:33 PST 2023


Hi Krzysztof,

Thank you for the comments. The fix regarding module_platform_driver
will be provided in the next version of patches. Thanks a lot!

Best regards,
William
On Wed, 2023-12-20 at 12:34 +0100, Krzysztof Kozlowski wrote:
>  	 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>  On 20/12/2023 11:39, William-tw Lin wrote:
> > Add driver for socinfo retrieval. This patch includes the
> following:
> > 1. mtk-socinfo driver for chip info retrieval
> > 2. Related changes to Makefile and Kconfig
> > 
> > Signed-off-by: William-tw Lin <william-tw.lin at mediatek.com>
> 
> ...
> 
> > +static struct platform_driver mtk_socinfo = {
> > +.probe = mtk_socinfo_probe,
> > +.remove_new = mtk_socinfo_remove,
> > +.driver = {
> > +.name = "mtk-socinfo",
> > +},
> > +};
> > +builtin_platform_driver(mtk_socinfo);
> 
> module platform driver, because this is tristate and because this
> should
> be a module.
> 
> Best regards,
> Krzysztof


More information about the Linux-mediatek mailing list