diff options
author | John Crispin <blogic@openwrt.org> | 2014-09-12 06:50:58 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-09-12 06:50:58 +0000 |
commit | ea543bff4ebee75231244085720f37fc52f685be (patch) | |
tree | 4a8feaf483088370b3e84aa28838151196db203b /target/linux | |
parent | ea4d8f59c81233d3ecdc91256dbfd50204a39c81 (diff) | |
download | upstream-ea543bff4ebee75231244085720f37fc52f685be.tar.gz upstream-ea543bff4ebee75231244085720f37fc52f685be.tar.bz2 upstream-ea543bff4ebee75231244085720f37fc52f685be.zip |
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 <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42483 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/atheros/patches-3.14/100-board.patch | 8 |
1 files changed, 6 insertions, 2 deletions
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 <linux/io.h> +#include <asm/irq_cpu.h> +#include <asm/reboot.h> ++#include <asm/bootinfo.h> ++#include <asm/time.h> + +#include <ar231x_platform.h> +#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 <linux/kernel.h> +#include <linux/init.h> +#include <linux/serial.h> +#include <linux/serial_core.h> +#include <linux/serial_8250.h> +#include <linux/platform_device.h> ++#include <asm/bootinfo.h> ++ +#include <ar231x_platform.h> +#include <ar231x.h> +#include "devices.h" |