Re: [PATCH] of: drop symbols declared by _OF_DECLARE() from modules

From: Arnd Bergmann
Date: Thu Jan 14 2016 - 05:24:21 EST


On Thursday 14 January 2016 19:21:21 Masahiro Yamada wrote:
> Yes, this is my intention.
>
> I think this patch does so,
> unless I am missing something...
>
>
> #if defined(CONFIG_OF) && !defined(MODULE)
> __used
> #else
> __unused
> #endif
>
>

Ah, got it. You are right, I just missed that because the #else
part was not in the context that I saw in the patch and I was too lazy
to actually look at the file.

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Arnd