diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:50:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:50:19 -0400 |
commit | df6d3916f3b7b7e2067567a256dd4f0c1ea854a2 (patch) | |
tree | 0fdeab1ab5d566605fc99aeb5ea3f621f11e7608 /drivers/ps3/vuart.c | |
parent | 74add80cbd7fe246c893b93ee75ac59acdd01dd4 (diff) | |
parent | 197686dfe0038fd190326d118b743ff65ad20c0e (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (77 commits)
[POWERPC] Abolish powerpc_flash_init()
[POWERPC] Early serial debug support for PPC44x
[POWERPC] Support for the Ebony 440GP reference board in arch/powerpc
[POWERPC] Add device tree for Ebony
[POWERPC] Add powerpc/platforms/44x, disable platforms/4xx for now
[POWERPC] MPIC U3/U4 MSI backend
[POWERPC] MPIC MSI allocator
[POWERPC] Enable MSI mappings for MPIC
[POWERPC] Tell Phyp we support MSI
[POWERPC] RTAS MSI implementation
[POWERPC] PowerPC MSI infrastructure
[POWERPC] Rip out the existing powerpc msi stubs
[POWERPC] Remove use of 4level-fixup.h for ppc32
[POWERPC] Add powerpc PCI-E reset API implementation
[POWERPC] Holly bootwrapper
[POWERPC] Holly DTS
[POWERPC] Holly defconfig
[POWERPC] Add support for 750CL Holly board
[POWERPC] Generalize tsi108 PCI setup
[POWERPC] Generalize tsi108 PHY types
...
Fixed conflict in include/asm-powerpc/kdebug.h manually
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ps3/vuart.c')
-rw-r--r-- | drivers/ps3/vuart.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ps3/vuart.c b/drivers/ps3/vuart.c index 7d7cab1d91b4..ec2d36a1bc67 100644 --- a/drivers/ps3/vuart.c +++ b/drivers/ps3/vuart.c | |||
@@ -886,12 +886,12 @@ static int ps3_vuart_probe(struct device *_dev) | |||
886 | 886 | ||
887 | if (++vuart_bus_priv.use_count == 1) { | 887 | if (++vuart_bus_priv.use_count == 1) { |
888 | 888 | ||
889 | result = ps3_alloc_vuart_irq(PS3_BINDING_CPU_ANY, | 889 | result = ps3_vuart_irq_setup(PS3_BINDING_CPU_ANY, |
890 | (void*)&vuart_bus_priv.bmp.status, &vuart_bus_priv.virq); | 890 | (void*)&vuart_bus_priv.bmp.status, &vuart_bus_priv.virq); |
891 | 891 | ||
892 | if (result) { | 892 | if (result) { |
893 | dev_dbg(&dev->core, | 893 | dev_dbg(&dev->core, |
894 | "%s:%d: ps3_alloc_vuart_irq failed (%d)\n", | 894 | "%s:%d: ps3_vuart_irq_setup failed (%d)\n", |
895 | __func__, __LINE__, result); | 895 | __func__, __LINE__, result); |
896 | result = -EPERM; | 896 | result = -EPERM; |
897 | goto fail_alloc_irq; | 897 | goto fail_alloc_irq; |
@@ -937,7 +937,7 @@ static int ps3_vuart_probe(struct device *_dev) | |||
937 | fail_probe: | 937 | fail_probe: |
938 | ps3_vuart_set_interrupt_mask(dev, 0); | 938 | ps3_vuart_set_interrupt_mask(dev, 0); |
939 | fail_request_irq: | 939 | fail_request_irq: |
940 | ps3_free_vuart_irq(vuart_bus_priv.virq); | 940 | ps3_vuart_irq_destroy(vuart_bus_priv.virq); |
941 | vuart_bus_priv.virq = NO_IRQ; | 941 | vuart_bus_priv.virq = NO_IRQ; |
942 | fail_alloc_irq: | 942 | fail_alloc_irq: |
943 | --vuart_bus_priv.use_count; | 943 | --vuart_bus_priv.use_count; |
@@ -975,7 +975,7 @@ static int ps3_vuart_remove(struct device *_dev) | |||
975 | if (--vuart_bus_priv.use_count == 0) { | 975 | if (--vuart_bus_priv.use_count == 0) { |
976 | BUG(); | 976 | BUG(); |
977 | free_irq(vuart_bus_priv.virq, &vuart_bus_priv); | 977 | free_irq(vuart_bus_priv.virq, &vuart_bus_priv); |
978 | ps3_free_vuart_irq(vuart_bus_priv.virq); | 978 | ps3_vuart_irq_destroy(vuart_bus_priv.virq); |
979 | vuart_bus_priv.virq = NO_IRQ; | 979 | vuart_bus_priv.virq = NO_IRQ; |
980 | } | 980 | } |
981 | 981 | ||