summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.28/collie/0004-fix-dma-for-SA1100.patch
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2009-02-10 20:59:05 +0100
committerThomas Kunze <thommycheck@gmx.de>2009-02-10 20:59:05 +0100
commit4be205e17f2f4497ff936255c5bba7553bc39dc9 (patch)
treef3b472118758d0f1b352834810b7bd294a4454d0 /packages/linux/linux-2.6.28/collie/0004-fix-dma-for-SA1100.patch
parent0345d624647954e3a49e05b8c221f8281e0897eb (diff)
linux_2.6.28: add collie patches
Diffstat (limited to 'packages/linux/linux-2.6.28/collie/0004-fix-dma-for-SA1100.patch')
-rw-r--r--packages/linux/linux-2.6.28/collie/0004-fix-dma-for-SA1100.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.28/collie/0004-fix-dma-for-SA1100.patch b/packages/linux/linux-2.6.28/collie/0004-fix-dma-for-SA1100.patch
new file mode 100644
index 0000000000..6dbb856189
--- /dev/null
+++ b/packages/linux/linux-2.6.28/collie/0004-fix-dma-for-SA1100.patch
@@ -0,0 +1,25 @@
+From 4f4df9e1c0c82cfd9133f52089025a8ff363977c Mon Sep 17 00:00:00 2001
+From: Thomas Kunze <thommycheck@gmx.de>
+Date: Mon, 20 Oct 2008 17:39:02 +0200
+Subject: [PATCH 04/23] fix dma for SA1100
+
+---
+ arch/arm/mach-sa1100/dma.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/arch/arm/mach-sa1100/dma.c b/arch/arm/mach-sa1100/dma.c
+index f990a3e..1489d64 100644
+--- a/arch/arm/mach-sa1100/dma.c
++++ b/arch/arm/mach-sa1100/dma.c
+@@ -39,7 +39,7 @@ typedef struct {
+
+ static sa1100_dma_t dma_chan[SA1100_DMA_CHANNELS];
+
+-static spinlock_t dma_list_lock;
++static DEFINE_SPINLOCK(dma_list_lock);
+
+
+ static irqreturn_t dma_irq_handler(int irq, void *dev_id)
+--
+1.5.6.5
+