android_kernel_xiaomi_sdm845/arch/powerpc/platforms/powermac
Josh Boyer 7fe519c207 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 <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-12-16 15:53:16 +11:00
..
backlight.c [POWERPC] Remove old interface find_devices 2007-04-24 22:09:02 +10:00
bootx_init.c [POWERPC] Remove old includes from arch/ppc 2007-08-22 22:39:35 -05:00
cache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_32.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
cpufreq_64.c [CPUFREQ] move policy's governor initialisation out of low-level drivers into cpufreq core 2007-10-04 18:40:57 -04:00
feature.c powerpc: Fix duplicate test of MACIO_FLAG_SCCB_ON 2008-09-15 11:07:35 -07:00
Kconfig [POWERPC] disallow building powermac and tsi108 without PCI 2007-06-29 01:57:00 -05:00
low_i2c.c [POWERPC] powermac: Use machine_*_initcall() hooks in platform code 2008-01-17 14:57:14 +11:00
Makefile ftrace: rename FTRACE to FUNCTION_TRACER 2008-10-20 18:27:03 +02:00
nvram.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pci.c powerpc: Introduce ppc_pci_flags accessors 2008-12-16 15:53:16 +11:00
pfunc_base.c [POWERPC] powermac: Use machine_*_initcall() hooks in platform code 2008-01-17 14:57:14 +11:00
pfunc_core.c arch: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:14:49 -04:00
pic.c [POWERPC] Move xmon_irq() declaration into xmon.h 2008-05-14 22:31:54 +10:00
pic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
pmac.h ppc/pmac: remove ppc_ide_md hooks 2008-04-18 00:46:29 +02:00
setup.c powerpc/pmac: Use of_find_node_with_property() in pmac_setup_arch() 2008-11-19 16:05:03 +11:00
sleep.S [POWERPC] Fix build breakage with CONFIG_PPC32 2006-10-23 18:23:17 +10:00
smp.c powerpc/powermac: Use set_hard_smp_processor_id() instead of smp_hw_index 2008-12-16 15:53:09 +11:00
time.c powerpc: Guard from_rtc_time() in platforms/powermac/time.c 2008-08-20 16:34:57 +10:00
udbg_adb.c [POWERPC] Fix section mismatches in udbg_adb.c 2007-08-17 11:02:06 +10:00
udbg_scc.c powerpc/powermac: Use sane default baudrate for SCC debugging 2008-07-28 16:30:52 +10:00