From: John Crispin Date: Fri, 12 Sep 2014 06:50:58 +0000 (+0000) Subject: atheros: add missing include X-Git-Tag: reboot~6003 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d4113b105516c826744e048dd42f8e2ef4da7055;p=openwrt%2Fstaging%2Flynxis.git 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"