]> err.no Git - linux-2.6/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)
committerPaul Mackerras <paulus@samba.org>
Tue, 2 Oct 2007 23:11:29 +0000 (09:11 +1000)
commitdb220b234da9f183b127b9c3077c253b94756e35
tree529f0fd2e643741f8e668a9f1a45fe847afd25f7
parenta35e370cfd2ddfb5d2f0ceae376ffeda273b357c
[POWERPC] Make sure to of_node_get() the result of pci_device_to_OF_node()

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>
arch/powerpc/platforms/cell/axon_msi.c