X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fatheros%2Fpatches-3.10%2F120-spiflash.patch;h=a07fa52f1a9647545860f241c3d7bbeea7bbf349;hp=8630a3a2d11b3ebbd0321ea39670f5fa0f271ea6;hb=c4ffb9f02380b640db14157a16c7360b39677184;hpb=1832198bd5d03bb3d3442ac43a27de717e2037e5 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 +#include + -+#include -+#include +#include ++#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.