aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-28 21:02:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-28 21:02:31 +0000
commit946009061c0216c37850e5da440afbcec5344909 (patch)
tree3cc226197e3531cef820cb53d4a0225173404219 /package/madwifi
parentcdc99530a24d8a784dce2cdb7789200840f2c7fb (diff)
downloadmaster-187ad058-946009061c0216c37850e5da440afbcec5344909.tar.gz
master-187ad058-946009061c0216c37850e5da440afbcec5344909.tar.bz2
master-187ad058-946009061c0216c37850e5da440afbcec5344909.zip
add missing #include
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10297 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/326-soc_dma.patch20
1 files changed, 14 insertions, 6 deletions
diff --git a/package/madwifi/patches/326-soc_dma.patch b/package/madwifi/patches/326-soc_dma.patch
index 8ac6187a34..a5075c4684 100644
--- a/package/madwifi/patches/326-soc_dma.patch
+++ b/package/madwifi/patches/326-soc_dma.patch
@@ -1,7 +1,7 @@
Index: madwifi-trunk-r3280/ath/if_ath_ahb.c
===================================================================
---- madwifi-trunk-r3280.orig/ath/if_ath_ahb.c 2008-01-28 19:12:37.022826852 +0100
-+++ madwifi-trunk-r3280/ath/if_ath_ahb.c 2008-01-28 19:31:09.184472483 +0100
+--- madwifi-trunk-r3280.orig/ath/if_ath_ahb.c 2008-01-28 20:00:18.552163264 +0100
++++ madwifi-trunk-r3280/ath/if_ath_ahb.c 2008-01-28 20:00:18.612166683 +0100
@@ -69,27 +69,13 @@
void *
bus_alloc_consistent(void *hwdev, size_t size, dma_addr_t *dma_handle)
@@ -34,9 +34,17 @@ Index: madwifi-trunk-r3280/ath/if_ath_ahb.c
static int
Index: madwifi-trunk-r3280/ath/if_ath_ahb.h
===================================================================
---- madwifi-trunk-r3280.orig/ath/if_ath_ahb.h 2008-01-28 19:20:06.016413537 +0100
-+++ madwifi-trunk-r3280/ath/if_ath_ahb.h 2008-01-28 19:30:40.978865135 +0100
-@@ -89,8 +89,8 @@
+--- madwifi-trunk-r3280.orig/ath/if_ath_ahb.h 2008-01-28 19:52:49.442569967 +0100
++++ madwifi-trunk-r3280/ath/if_ath_ahb.h 2008-01-28 21:55:51.325773888 +0100
+@@ -8,6 +8,7 @@
+ #ifndef _DEV_ATH_AHB_H_
+ #define _DEV_ATH_AHB_H_
+
++#include <linux/dma-mapping.h>
+ #include <asm/io.h>
+ #include <asm/uaccess.h>
+
+@@ -89,8 +90,8 @@
#define AR531X_RADIO1_MASK 0x000c
#define AR531X_RADIO1_S 2
@@ -47,7 +55,7 @@ Index: madwifi-trunk-r3280/ath/if_ath_ahb.h
#define AR531X_APBBASE 0xbc000000
#define AR531X_RESETTMR (AR531X_APBBASE + 0x3000)
-@@ -115,29 +115,19 @@
+@@ -115,29 +116,19 @@
static __inline void bus_dma_sync_single(void *hwdev, dma_addr_t dma_handle,
size_t size, int direction)
{