diff options
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx/flipper-pic.c')
-rw-r--r-- | arch/powerpc/platforms/embedded6xx/flipper-pic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/flipper-pic.c b/arch/powerpc/platforms/embedded6xx/flipper-pic.c index 675335a52648..53d6eee01963 100644 --- a/arch/powerpc/platforms/embedded6xx/flipper-pic.c +++ b/arch/powerpc/platforms/embedded6xx/flipper-pic.c | |||
@@ -172,7 +172,7 @@ out: | |||
172 | 172 | ||
173 | unsigned int flipper_pic_get_irq(void) | 173 | unsigned int flipper_pic_get_irq(void) |
174 | { | 174 | { |
175 | void __iomem *io_base = flipper_irq_domain->host_data; | 175 | void __iomem *io_base = flipper_irq_host->host_data; |
176 | int irq; | 176 | int irq; |
177 | u32 irq_status; | 177 | u32 irq_status; |
178 | 178 | ||
@@ -182,7 +182,7 @@ unsigned int flipper_pic_get_irq(void) | |||
182 | return NO_IRQ; /* no more IRQs pending */ | 182 | return NO_IRQ; /* no more IRQs pending */ |
183 | 183 | ||
184 | irq = __ffs(irq_status); | 184 | irq = __ffs(irq_status); |
185 | return irq_linear_revmap(flipper_irq_domain, irq); | 185 | return irq_linear_revmap(flipper_irq_host, irq); |
186 | } | 186 | } |
187 | 187 | ||
188 | /* | 188 | /* |
@@ -197,7 +197,7 @@ void __init flipper_pic_probe(void) | |||
197 | np = of_find_compatible_node(NULL, NULL, "nintendo,flipper-pic"); | 197 | np = of_find_compatible_node(NULL, NULL, "nintendo,flipper-pic"); |
198 | BUG_ON(!np); | 198 | BUG_ON(!np); |
199 | 199 | ||
200 | flipper_irq_domain = flipper_pic_init(np); | 200 | flipper_irq_host = flipper_pic_init(np); |
201 | BUG_ON(!flipper_irq_host); | 201 | BUG_ON(!flipper_irq_host); |
202 | 202 | ||
203 | irq_set_default_host(flipper_irq_host); | 203 | irq_set_default_host(flipper_irq_host); |