Re: [PATCH v4 5/5] irqchip/imx-irqsteer: Allow building as module
Thomas Gleixner <[email protected]>
| Newsgroups | dev.linux.lists.imx,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <87qzjujcn6.ffs@fw13> |
On Wed, Aug 19 2026 at 18:05, Zhipeng wrote: > From: Jindong Yue <[email protected]> > > Make the driver buildable as a module by turning the Kconfig symbol into > a tristate and using module_platform_driver() instead of > builtin_platform_driver(). That's not what the patch does. > /* steer all IRQs into configured channel */ > if (irqsteer_has_chanctrl(data->devtype_data)) > writel_relaxed(BIT(data->channel), data->regs + CHANCTRL); > @@ -271,12 +266,21 @@ static int imx_irqsteer_probe(struct platform_device *pdev) > > platform_set_drvdata(pdev, data); > > - pm_runtime_set_active(&pdev->dev); > - pm_runtime_enable(&pdev->dev); > + ret = devm_pm_runtime_set_active_enabled(&pdev->dev); All these prerequisite changes to make it possible want to be in a separate patch and not cobbled together with the module changes.