summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/irq.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-04-04 13:21:13 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-15 19:28:49 +0200
commit472bc4f2ad164a5aac2e85d891c4faecfc5d62c4 (patch)
treea108d689a306861beb7796eb2284c39228d80fad /arch/sparc/kernel/irq.h
parentsparc64: Remove trap return code which is now unnecessary. (diff)
downloadlinux-472bc4f2ad164a5aac2e85d891c4faecfc5d62c4.tar.xz
linux-472bc4f2ad164a5aac2e85d891c4faecfc5d62c4.zip
sparc32: rename sparc_irq_config to sparc_config
This struct holds platform specific config and is thus not limited to irq stuff. Do not let the name confuse us to think this is irq only. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/irq.h')
-rw-r--r--arch/sparc/kernel/irq.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/kernel/irq.h b/arch/sparc/kernel/irq.h
index 5a021dd2f854..3f6ca4d55dc4 100644
--- a/arch/sparc/kernel/irq.h
+++ b/arch/sparc/kernel/irq.h
@@ -42,16 +42,16 @@ extern struct sun4m_irq_percpu __iomem *sun4m_irq_percpu[SUN4M_NCPUS];
extern struct sun4m_irq_global __iomem *sun4m_irq_global;
/*
- * Platform specific irq configuration
+ * Platform specific configuration
* The individual platforms assign their platform
* specifics in their init functions.
*/
-struct sparc_irq_config {
+struct sparc_config {
void (*init_timers)(irq_handler_t);
unsigned int (*build_device_irq)(struct platform_device *op,
unsigned int real_irq);
};
-extern struct sparc_irq_config sparc_irq_config;
+extern struct sparc_config sparc_config;
unsigned int irq_alloc(unsigned int real_irq, unsigned int pil);
void irq_link(unsigned int irq);