Re: [PATCH] ata: sata_dwc_460ex: use platform_get_irq()
From: Niklas Cassel
Date: Tue Jun 30 2026 - 07:19:17 EST
On Tue, Jun 30, 2026 at 07:06:55PM +0900, Damien Le Moal wrote:
> On 6/30/26 18:55, Niklas Cassel wrote:
> > Sure, we could create a dummy / stub for that function, but to be honest,
> > I think my earlier suggestion of just using dev->of_node directly within
> > the ifdef, and drop the local np variable would be the smallest change.
>
> Yes. But I am not against replacing that ifdef with IS_ENABLED().
> That's prettier :)
That is possible if we create a dummy / stub for sata_dwc_dma_init_old()
(since that function is currently defined within #ifdef).
Kind regards,
Niklas