Thread (5 messages) flat view 5 messages, 2 authors, 2016-07-14

[PATCH] ARM: s3c64xx: avoid warning about 'struct device_node'

From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-07-11 11:12:30
Also in: linux-samsung-soc, lkml

On Monday, June 27, 2016 1:33:51 PM CEST Krzysztof Kozlowski wrote:
On 06/27/2016 01:02 PM, Arnd Bergmann wrote:
quoted
The change to simplify of_platform_populate() had an unintended
side-effect of introducing a build warning on s3c64xx:

In file included from arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c:18:0:
arch/arm/mach-s3c64xx/common.h:27:30: error: 'struct device_node' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]

This adds a forward-declaration for the structure name in the
header to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 850bea2335e4 ("arm: Remove unnecessary of_platform_populate with default match table")
---
Rob, can you apply this on top of the devicetree git so we don't
have to coordinate the merges?
Acked-by: Krzysztof Kozlowski <redacted>
Hi Rob,

I still get the warning in every linux-next build, do you plan to pick
up the fix for the commit you merged, or should I try to work around it
in arm-soc and leave this as a bisection problem?

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help