android_kernel_xiaomi_sm8350/drivers/macintosh
Olaf Hering e120e8d03a [POWERPC] Fix undefined reference to device_power_up/resume
Current Linus tree fails to link on pmac32:

drivers/built-in.o: In function `pmac_wakeup_devices':
via-pmu.c:(.text+0x5bab4): undefined reference to `device_power_up'
via-pmu.c:(.text+0x5bb08): undefined reference to `device_resume'
drivers/built-in.o: In function `pmac_suspend_devices':
via-pmu.c:(.text+0x5c260): undefined reference to `device_power_down'
via-pmu.c:(.text+0x5c27c): undefined reference to `device_resume'
make[1]: *** [.tmp_vmlinux1] Error 1

changing CONFIG_PM > CONFIG_PM_SLEEP leads to:

drivers/built-in.o: In function `pmu_led_set':
via-pmu-led.c:(.text+0x5cdca): undefined reference to `pmu_sys_suspended'
via-pmu-led.c:(.text+0x5cdce): undefined reference to `pmu_sys_suspended'
drivers/built-in.o: In function `pmu_req_done':
via-pmu-led.c:(.text+0x5ce3e): undefined reference to `pmu_sys_suspended'
via-pmu-led.c:(.text+0x5ce42): undefined reference to `pmu_sys_suspended'
drivers/built-in.o: In function `adb_init':
(.init.text+0x4c5c): undefined reference to `pmu_register_sleep_notifier'
make[1]: *** [.tmp_vmlinux1] Error 1

So change even more places from PM to PM_SLEEP to allow linking.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-08-25 16:58:27 +10:00
..
adb-iop.c
adb.c [POWERPC] Fix undefined reference to device_power_up/resume 2007-08-25 16:58:27 +10:00
adbhid.c
ans-lcd.c
apm_emu.c
Kconfig Add some help texts to recently-introduced kconfig items 2007-08-18 09:52:50 -07:00
mac_hid.c m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible 2007-08-22 19:52:45 -07:00
macio_asic.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
macio_sysfs.c
macio-adb.c
Makefile
mediabay.c
nvram.c
rack-meter.c [POWERPC] Clean up duplicate includes in drivers/macintosh/ 2007-07-22 21:31:00 +10:00
smu.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
therm_adt746x.c Freezer: make kernel threads nonfreezable by default 2007-07-17 10:23:02 -07:00
therm_pm72.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
therm_pm72.h
therm_windtunnel.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
via-cuda.c
via-macii.c
via-maciisi.c
via-pmu68k.c remove dead code in via-pmu68k 2007-08-22 19:52:45 -07:00
via-pmu-backlight.c
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c
via-pmu.c [POWERPC] Fix undefined reference to device_power_up/resume 2007-08-25 16:58:27 +10:00
windfarm_core.c usermodehelper: Tidy up waiting 2007-07-18 08:47:40 -07:00
windfarm_cpufreq_clamp.c
windfarm_lm75_sensor.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
windfarm_max6690_sensor.c
windfarm_pid.c
windfarm_pid.h
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c
windfarm_smu_controls.c
windfarm_smu_sat.c i2c: Fix the i2c_smbus_read_i2c_block_data() prototype 2007-07-12 14:12:29 +02:00
windfarm_smu_sensors.c
windfarm.h