mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 00:17:44 +00:00
8308a78db8
Keystone PM bus makes use of generic PM clock core backend. Since generic PM clock core uses platform bus notifiers to track events like ADD_DEVICE/DEL_DEVICE and to fill clock lists per each device, we need to initialise Keystone PM domains before the platform devices have been created. Hence, fix it by moving keystone_pm_runtime_init() before platform devices have been populated. Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
24 lines
695 B
C
24 lines
695 B
C
/*
|
|
* Copyright 2013 Texas Instruments, Inc.
|
|
* Cyril Chemparathy <cyril@ti.com>
|
|
* Santosh Shilimkar <santosh.shillimkar@ti.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __KEYSTONE_H__
|
|
#define __KEYSTONE_H__
|
|
|
|
#define KEYSTONE_MON_CPU_UP_IDX 0x00
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
extern struct smp_operations keystone_smp_ops;
|
|
extern void secondary_startup(void);
|
|
extern u32 keystone_cpu_smc(u32 command, u32 cpu, u32 addr);
|
|
extern int keystone_pm_runtime_init(void);
|
|
|
|
#endif /* __ASSEMBLER__ */
|
|
#endif /* __KEYSTONE_H__ */
|