[PATCH v2] arm-ccn: Fix building as a module

Suzuki K Poulose Suzuki.Poulose at arm.com
Fri Apr 22 09:24:33 PDT 2016


On 22/04/16 16:41, Kevin Hilman wrote:
> Pawel Moll <pawel.moll at arm.com> writes:
>
>> On Fri, 2016-04-22 at 10:43 +0100, Suzuki K Poulose wrote:
>>> arm-ccn driver uses irq_set_affinity, which is not exported and
>>> hence cannot be built as a module, eventhough we have all the
>>> bits ready. This patch makes use of the exported helper
>>> irq_set_affinity_hint() instead. Also, the __free_irq expects
>>> the affinity_hint to be NULL when we free the irq. So set the
>>> affinity_hint to NULL at clean up.
>>>
>>> Now that we can build it as a module, update the Kconfig to
>>> reflect the change.
>>>
>>> Applies on 4.6-rc4.
>>
>> Acked-by: Pawel Moll <pawel.moll at arm.com>
>>
>
> Applied to arm-soc/fixes with Pawel's ack.

Kevin,

Please note that there is a change to Kconfig for ARM_CCN. So if you
think changes to Kconfig shouldn't be pushed as a fix, by all means you
can push this to 4.7.

The title of the patch doesn't convey that. Sorry about that.

Suzuki




More information about the linux-arm-kernel mailing list