]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-sparc64/prom.h
[SPARC64]: of_device layer IRQ resolution
[karo-tx-linux.git] / include / asm-sparc64 / prom.h
index aad16c2aa5e859cf4f195d36d357c625a824bbe9..99671ed6625d15a8fa19f2a721ed9eb28f5255ef 100644 (file)
@@ -34,6 +34,7 @@ struct property {
        unsigned int unique_id;
 };
 
+struct of_irq_controller;
 struct device_node {
        char    *name;
        char    *type;
@@ -53,6 +54,13 @@ struct device_node {
        unsigned long _flags;
        void    *data;
        unsigned int unique_id;
+
+       struct of_irq_controller *irq_trans;
+};
+
+struct of_irq_controller {
+       unsigned int    (*irq_build)(struct device_node *, unsigned int, void *);
+       void            *data;
 };
 
 /* flag descriptions */