linux_old1/arch/powerpc/platforms/powermac
Tony Breeds 21e38dfee5 [POWERPC] Fix building of pmac32 when CONFIG_NVRAM=m
Kamalesh Babulal (kamalesh@linux.vnet.ibm.com) reports that CONFIG_NVRAM=m
is valid in terms of Kconfig but fails to build with:
  Building modules, stage 2.
  MODPOST 1401 modules
ERROR: "pmac_newworld" [arch/powerpc/platforms/powermac/nvram.ko] undefined!
ERROR: "__alloc_bootmem" [arch/powerpc/platforms/powermac/nvram.ko] undefined!
make[1]: *** [__modpost] Error

The arch/powerpc/platforms/powermac/nvram.c code really needs to be
builtin, but as its compilation is dependent on a generic Kconfig
symbol we force nvram.c to be builtin if CONFIG_NVRAM is 'y' or 'm'.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-29 15:57:34 +10:00
..
Kconfig [POWERPC] disallow building powermac and tsi108 without PCI 2007-06-29 01:57:00 -05:00
Makefile [POWERPC] Fix building of pmac32 when CONFIG_NVRAM=m 2008-04-29 15:57:34 +10: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] Disable G5 NAP mode during SMU commands on U3 2008-02-08 19:52:35 +11:00
low_i2c.c [POWERPC] powermac: Use machine_*_initcall() hooks in platform code 2008-01-17 14:57:14 +11:00
nvram.c [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
pci.c ppc/pmac: remove no longer needed IDE quirk 2008-04-18 00:46:32 +02: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] Fix arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU 2008-03-13 10:09:27 +11: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] Fix building of pmac32 when CONFIG_NVRAM=m 2008-04-29 15:57:34 +10:00
sleep.S [POWERPC] Fix build breakage with CONFIG_PPC32 2006-10-23 18:23:17 +10:00
smp.c [POWERPC] Fix per-cpu allocation on oldworld SMP powermacs 2007-06-14 11:56:17 +10:00
time.c [POWERPC] powermac: Fix warning in time.c 2007-12-03 13:56:25 +11:00
udbg_adb.c [POWERPC] Fix section mismatches in udbg_adb.c 2007-08-17 11:02:06 +10:00
udbg_scc.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00