38ade3a1fa
shmobile platforms replace the runtime PM callbacks of the platform bus type with their own routines, but this means that the callbacks are replaced system-wide. This may not be the right approach if the platform devices on the system are not of the same type (e.g. some of them belong to an SoC and the others are located in separate chips), because in those cases they may require different handling. Thus it is better to use power domains to override the platform bus type's PM handling, as it generally is possible to use different power domains for devices with different PM requirements. Define a default power domain for shmobile in both the SH and ARM falvors and use it to override the platform bus type's PM callbacks. Since the suspend and hibernate callbacks of the new "default" power domains need to be the same and the platform bus type's suspend and hibernate callbacks for the time being, export those callbacks so that can be used outside of the platform bus type code. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> |
||
---|---|---|
.. | ||
cpu | ||
vsyscall | ||
.gitignore | ||
asm-offsets.c | ||
cpufreq.c | ||
crash_dump.c | ||
debugtraps.S | ||
disassemble.c | ||
dma-nommu.c | ||
dumpstack.c | ||
dwarf.c | ||
entry-common.S | ||
ftrace.c | ||
head_32.S | ||
head_64.S | ||
hw_breakpoint.c | ||
idle.c | ||
init_task.c | ||
io.c | ||
io_trapped.c | ||
iomap.c | ||
ioport.c | ||
irq.c | ||
irq_32.c | ||
irq_64.c | ||
kdebugfs.c | ||
kgdb.c | ||
kprobes.c | ||
localtimer.c | ||
machine_kexec.c | ||
machvec.c | ||
Makefile | ||
module.c | ||
nmi_debug.c | ||
perf_callchain.c | ||
perf_event.c | ||
process.c | ||
process_32.c | ||
process_64.c | ||
ptrace.c | ||
ptrace_32.c | ||
ptrace_64.c | ||
reboot.c | ||
relocate_kernel.S | ||
return_address.c | ||
setup.c | ||
sh_bios.c | ||
sh_ksyms_32.c | ||
sh_ksyms_64.c | ||
signal_32.c | ||
signal_64.c | ||
smp.c | ||
stacktrace.c | ||
swsusp.c | ||
sys_sh.c | ||
sys_sh32.c | ||
sys_sh64.c | ||
syscalls_32.S | ||
syscalls_64.S | ||
time.c | ||
topology.c | ||
traps.c | ||
traps_32.c | ||
traps_64.c | ||
unwinder.c | ||
vmlinux.lds.S |