aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:31 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-24 18:13:31 +0000
commit6c193cf52989dd5de221562027baf458940ddff1 (patch)
treea260747489d5fdd78cd952718a5a1cdbaf5d3605 /target/linux/atheros
parentf6f6b0e18c895a1c85337199ff746d674bf5f4bf (diff)
downloadupstream-6c193cf52989dd5de221562027baf458940ddff1.tar.gz
upstream-6c193cf52989dd5de221562027baf458940ddff1.tar.bz2
upstream-6c193cf52989dd5de221562027baf458940ddff1.zip
atheros[ar2315-spiflash]: make spiflash header local
We do not need global access to it, so move it from arch include to the mtd subdir. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41321 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros')
-rw-r--r--target/linux/atheros/patches-3.10/120-spiflash.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/atheros/patches-3.10/120-spiflash.patch b/target/linux/atheros/patches-3.10/120-spiflash.patch
index 8630a3a2d1..a07fa52f1a 100644
--- a/target/linux/atheros/patches-3.10/120-spiflash.patch
+++ b/target/linux/atheros/patches-3.10/120-spiflash.patch
@@ -23,7 +23,7 @@
--- /dev/null
+++ b/drivers/mtd/devices/ar2315.c
-@@ -0,0 +1,540 @@
+@@ -0,0 +1,539 @@
+
+/*
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
@@ -54,9 +54,8 @@
+#include <linux/delay.h>
+#include <linux/io.h>
+
-+#include <ar2315_spiflash.h>
-+#include <ar231x_platform.h>
+#include <ar231x.h>
++#include "ar2315_spiflash.h"
+
+
+#define SPIFLASH "spiflash: "
@@ -565,10 +564,10 @@
+MODULE_DESCRIPTION("MTD driver for SPI Flash on Atheros SOC");
+
--- /dev/null
-+++ b/arch/mips/include/asm/mach-ar231x/ar2315_spiflash.h
++++ b/drivers/mtd/devices/ar2315_spiflash.h
@@ -0,0 +1,116 @@
+/*
-+ * SPI Flash Memory support header file.
++ * Atheros AR2315 SPI Flash Memory support header file.
+ *
+ * Copyright (c) 2005, Atheros Communications Inc.
+ * Copyright (C) 2006 FON Technology, SL.