Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99ddef9bfe714c3273e3fce4c6b6a2a99e7d0bf8
Commit:     99ddef9bfe714c3273e3fce4c6b6a2a99e7d0bf8
Parent:     b5d99e64bc6ec1eef03ed5ffe99088b28f5ad4a4
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 17 18:17:16 2007 -0700
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Mar 8 15:31:40 2007 +1100

    [POWERPC] Fix compile error in prom.h
    
    In file included from include/asm/pci.h:20,
                     from include/linux/pci.h:751,
                     from arch/powerpc/sysdev/dart_iommu.c:36:
    include/asm/prom.h: In function `of_irq_to_resource':
    include/asm/prom.h:341: warning: implicit declaration of function 
`irq_of_parse_and_map'
    include/asm/prom.h:345: error: `NO_IRQ' undeclared (first use in this 
function)
    include/asm/prom.h:345: error: (Each undeclared identifier is reported only 
once
    include/asm/prom.h:345: error: for each function it appears in.)
    
    Seems that prom.h has always wanted irq.h.
    
    Cc: Mathieu Desnoyers <[EMAIL PROTECTED]>
    Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 include/asm-powerpc/prom.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h
index 020ed01..1aa15e2 100644
--- a/include/asm-powerpc/prom.h
+++ b/include/asm-powerpc/prom.h
@@ -18,6 +18,7 @@
 #include <linux/types.h>
 #include <linux/proc_fs.h>
 #include <linux/platform_device.h>
+#include <asm/irq.h>
 #include <asm/atomic.h>
 
 /* Definitions used by the flattened device tree */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to