]> git.baikalelectronics.ru Git - kernel.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)
committerPaul Mackerras <paulus@samba.org>
Tue, 2 Oct 2007 23:11:29 +0000 (09:11 +1000)
commitd6a4ee8c23918a9e6b8302b81693d9f43e038aab
tree529f0fd2e643741f8e668a9f1a45fe847afd25f7
parent43f210e3053d3ce8b9a394ee7e7f7e2bc40db21b
[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