From: John Crispin Date: Fri, 12 Sep 2014 06:50:58 +0000 (+0000) Subject: atheros: add missing include X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=ccab57f6caa39c4ec144968a831228e1be6da093 atheros: add missing include Missing this headers cause several sparse "symbol 'foo' was not declared. Should it be static?" warnings. Signed-off-by: Sergey Ryazanov SVN-Revision: 42483 --- diff --git a/target/linux/atheros/patches-3.14/100-board.patch b/target/linux/atheros/patches-3.14/100-board.patch index 0e1b6b539a..383ffa3ef8 100644 --- a/target/linux/atheros/patches-3.14/100-board.patch +++ b/target/linux/atheros/patches-3.14/100-board.patch @@ -84,7 +84,7 @@ +obj-$(CONFIG_ATHEROS_AR2315) += ar2315.o --- /dev/null +++ b/arch/mips/ar231x/board.c -@@ -0,0 +1,261 @@ +@@ -0,0 +1,263 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive @@ -109,6 +109,8 @@ +#include +#include +#include ++#include ++#include + +#include +#include "devices.h" @@ -2858,13 +2860,15 @@ +#endif --- /dev/null +++ b/arch/mips/ar231x/devices.c -@@ -0,0 +1,180 @@ +@@ -0,0 +1,182 @@ +#include +#include +#include +#include +#include +#include ++#include ++ +#include +#include +#include "devices.h"