diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /arch/powerpc/sysdev/tsi108_pci.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/powerpc/sysdev/tsi108_pci.c')
-rw-r--r-- | arch/powerpc/sysdev/tsi108_pci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c index cf244a419e96..0ab9281e49ae 100644 --- a/arch/powerpc/sysdev/tsi108_pci.c +++ b/arch/powerpc/sysdev/tsi108_pci.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/init.h> | 25 | #include <linux/init.h> |
26 | #include <linux/pci.h> | 26 | #include <linux/pci.h> |
27 | #include <linux/slab.h> | ||
28 | #include <linux/irq.h> | 27 | #include <linux/irq.h> |
29 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
30 | 29 | ||
@@ -376,7 +375,7 @@ static void tsi108_pci_irq_end(u_int irq) | |||
376 | */ | 375 | */ |
377 | 376 | ||
378 | static struct irq_chip tsi108_pci_irq = { | 377 | static struct irq_chip tsi108_pci_irq = { |
379 | .typename = "tsi108_PCI_int", | 378 | .name = "tsi108_PCI_int", |
380 | .mask = tsi108_pci_irq_disable, | 379 | .mask = tsi108_pci_irq_disable, |
381 | .ack = tsi108_pci_irq_ack, | 380 | .ack = tsi108_pci_irq_ack, |
382 | .end = tsi108_pci_irq_end, | 381 | .end = tsi108_pci_irq_end, |
@@ -384,7 +383,7 @@ static struct irq_chip tsi108_pci_irq = { | |||
384 | }; | 383 | }; |
385 | 384 | ||
386 | static int pci_irq_host_xlate(struct irq_host *h, struct device_node *ct, | 385 | static int pci_irq_host_xlate(struct irq_host *h, struct device_node *ct, |
387 | u32 *intspec, unsigned int intsize, | 386 | const u32 *intspec, unsigned int intsize, |
388 | irq_hw_number_t *out_hwirq, unsigned int *out_flags) | 387 | irq_hw_number_t *out_hwirq, unsigned int *out_flags) |
389 | { | 388 | { |
390 | *out_hwirq = intspec[0]; | 389 | *out_hwirq = intspec[0]; |
@@ -398,7 +397,7 @@ static int pci_irq_host_map(struct irq_host *h, unsigned int virq, | |||
398 | DBG("%s(%d, 0x%lx)\n", __func__, virq, hw); | 397 | DBG("%s(%d, 0x%lx)\n", __func__, virq, hw); |
399 | if ((virq >= 1) && (virq <= 4)){ | 398 | if ((virq >= 1) && (virq <= 4)){ |
400 | irq = virq + IRQ_PCI_INTAD_BASE - 1; | 399 | irq = virq + IRQ_PCI_INTAD_BASE - 1; |
401 | get_irq_desc(irq)->status |= IRQ_LEVEL; | 400 | irq_to_desc(irq)->status |= IRQ_LEVEL; |
402 | set_irq_chip(irq, &tsi108_pci_irq); | 401 | set_irq_chip(irq, &tsi108_pci_irq); |
403 | } | 402 | } |
404 | return 0; | 403 | return 0; |