From: Michael Ellerman Date: Mon, 17 Sep 2007 06:03:45 +0000 (+1000) Subject: [POWERPC] Make sure to of_node_get() the result of pci_device_to_OF_node() X-Git-Tag: v2.6.24-rc1~1450^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db220b234da9f183b127b9c3077c253b94756e35;p=pandora-kernel.git [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 Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed