]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc: Add MSI operations to pci_controller_ops struct
authorDaniel Axtens <dja@axtens.net>
Tue, 14 Apr 2015 04:27:54 +0000 (14:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 May 2015 05:50:55 +0000 (15:50 +1000)
commite059b105d157d0231e2f0a7fba996724d856114b
treed6ea4686a1fafc9f7d11d9f0b93b1fcd7127b111
parent81f2f7ce4c5bb688ad691cb3ee37e81ca26a8a3b
powerpc: Add MSI operations to pci_controller_ops struct

Add MSI setup and teardown functions to pci_controller_ops.

Patch the callsites (arch_{setup,teardown}_msi_irqs) to prefer the
controller ops version if it's available.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/msi.c