From: Benjamin Herrenschmidt Date: Thu, 7 Apr 2011 03:09:47 +0000 (+1000) Subject: pci/of: Consolidate pci_device_to_OF_node() X-Git-Tag: v3.1-rc1~310^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64099d981c9916ec4a485b3ffbb89fa877fc595f;p=pandora-kernel.git pci/of: Consolidate pci_device_to_OF_node() All archs do more or less the same thing now, move it into a single generic place. I chose pci.h rather than of_pci.h to avoid having to change all call-sites to include the later. Signed-off-by: Benjamin Herrenschmidt Acked-by: Michal Simek Acked-by: Grant Likely Acked-by: Jesse Barnes --- Reading git-diff-tree failed