From: Benjamin Herrenschmidt Date: Thu, 20 Dec 2007 03:54:57 +0000 (+1100) Subject: [POWERPC] Fixup powermac enable device hook X-Git-Tag: v2.6.25-rc1~1131^2~239 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc0826cfb102b6f360f2ec3082fa794f5dbbdee7;p=pandora-kernel.git [POWERPC] Fixup powermac enable device hook Powermac's use of the pcibios_enable_device_hook() got slightly broken by the recent PCI merge in that it won't be called for the "initial" case of assigning resources to a previously unassigned device. This was an abuse of that hook anyway, so instead we now use a header quirk. While at it, we move a #ifdef CONFIG_PPC32 to enclose more code that is only ever used on 32 bits. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed