Re: [PATCH v3 0/2] memory: omap-gpmc: Allow module build

From: Roger Quadros
Date: Wed Apr 13 2022 - 07:58:30 EST




On 13/04/2022 14:47, Krzysztof Kozlowski wrote:
> On 13/04/2022 13:33, Roger Quadros wrote:
>>> Previously it was building with COMPILE_TEST on sparc, so what else changed?
>>>
>> Previously it was like so
>>
>> bool "Texas Instruments OMAP SoC GPMC driver" if COMPILE_TEST
>> depends on OF_ADDRESS
>>
>> Means it won't build if OF_ADDRESS is not set even if COMPILE_TEST is set.
>>
>> And OF_ADDRESS is not set for sparc
>>
>
> Ah, yes, so dropping COMPILE_TEST seems the solution. There are no other
> "depends" here.

But the build failed at irq_domain_remove() which is only available if IRQ_DOMAIN
is enabled.

It could be possible that OF_ADDRESS is enabled but IRQ_DOMAIN is not right?

cheers,
-roger