]> git.karo-electronics.de Git - karo-tx-linux.git/commit
POWERPC: Make sure to of_node_get() the result of pci_device_to_OF_node()
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 17 Sep 2007 06:03:45 +0000 (16:03 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 16:22:57 +0000 (08:22 -0800)
commit5361fb20ccec8c0d054fb4362735699fcb3f8aa9
treeb9a3948a353f86b7ffc2018985016f238e6d2c21
parent1d841b4fa6fa8d846925939bde04a9faf85fb18e
POWERPC: Make sure to of_node_get() the result of pci_device_to_OF_node()

patch db220b234da9f183b127b9c3077c253b94756e35 in mainline.

pci_device_to_OF_node() returns the device node attached to a PCI device,
but doesn't actually grab a reference - we need to do it ourselves.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/platforms/cell/axon_msi.c