summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-06-26 03:47:35 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 06:04:24 +0200
commit091487772c3312f3de599d99ca1d73395b54ed61 (patch)
treec08db236f1e93db46592c9188c4e79ad1057be3f /include/asm-m68knommu
parent[PATCH] m68knommu: fix ColdFire 5249 PLL set (diff)
downloadlinux-091487772c3312f3de599d99ca1d73395b54ed61.tar.xz
linux-091487772c3312f3de599d99ca1d73395b54ed61.zip
[PATCH] m68knommu: make enable_irq() macro statement
Change enable_irq() macro to be a statement, not expression. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m68knommu')
-rw-r--r--include/asm-m68knommu/irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/irq.h b/include/asm-m68knommu/irq.h
index c5247516fcfe..53557274eef8 100644
--- a/include/asm-m68knommu/irq.h
+++ b/include/asm-m68knommu/irq.h
@@ -83,7 +83,7 @@ extern void (*mach_disable_irq)(unsigned int);
/*
* Some drivers want these entry points
*/
-#define enable_irq(x) 0
+#define enable_irq(x) do { } while (0)
#define disable_irq(x) do { } while (0)
#define disable_irq_nosync(x) disable_irq(x)