From: Josh Boyer Date: Thu, 11 Dec 2008 09:46:44 +0000 (+0000) Subject: powerpc: Introduce ppc_pci_flags accessors X-Git-Tag: v2.6.29-rc1~574^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe519c207e3400dea6d67e1d483a16b11608423;p=pandora-kernel.git powerpc: Introduce ppc_pci_flags accessors Currently there are a number of platforms that open code access to the ppc_pci_flags global variable. However, that variable is not present if CONFIG_PCI is not set, which can lead to a build break. This introduces a number of accessor functions that are defined to be empty in the case of CONFIG_PCI being disabled. The various platform files in the kernel are updated to use these. Signed-off-by: Josh Boyer Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed