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

Arnd Bergmann arnd at arndb.de
Thu Jan 14 02:23:37 PST 2016


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 at arndb.de>

	Arnd



More information about the linux-arm-kernel mailing list