From: Sam Ravnborg Date: Mon, 21 Apr 2014 19:39:39 +0000 (+0200) Subject: sparc: fix sparse warnings in of_device_common.c X-Git-Tag: next-20140430~80^2^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=985edb5b16add10bb59f53208f5c1f85f9e2e4e4;p=karo-tx-linux.git sparc: fix sparse warnings in of_device_common.c Fix following warnings (both sparc32 and sparc64): of_device_common.c:13:14: warning: symbol 'irq_of_parse_and_map' was not declared. Should it be static? of_device_common.c:24:5: warning: symbol 'of_address_to_resource' was not declared. Should it be static? of_device_common.c:37:14: warning: symbol 'of_iomap' was not declared. Should it be static? Add missing includes. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/of_device_common.c b/arch/sparc/kernel/of_device_common.c index 3241f56331c2..de0ee3971f00 100644 --- a/arch/sparc/kernel/of_device_common.c +++ b/arch/sparc/kernel/of_device_common.c @@ -5,8 +5,10 @@ #include #include #include -#include #include +#include +#include +#include #include "of_device_common.h"