powerpc: Introduce ppc_pci_flags accessors
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 11 Dec 2008 09:46:44 +0000 (09:46 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 16 Dec 2008 04:53:16 +0000 (15:53 +1100)
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 <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found