[POWERPC] PS3: Fix sys manager build error
Fix a PS3 build error when CONFIG_PS3_SYS_MANAGER=n. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
17213c3bf6
commit
6e66837b26
|
@ -377,8 +377,13 @@ int ps3_vuart_port_device_register(struct ps3_vuart_port_device *dev);
|
||||||
|
|
||||||
/* system manager */
|
/* system manager */
|
||||||
|
|
||||||
|
#ifdef CONFIG_PS3_SYS_MANAGER
|
||||||
void ps3_sys_manager_restart(void);
|
void ps3_sys_manager_restart(void);
|
||||||
void ps3_sys_manager_power_off(void);
|
void ps3_sys_manager_power_off(void);
|
||||||
|
#else
|
||||||
|
static inline void ps3_sys_manager_restart(void) {}
|
||||||
|
static inline void ps3_sys_manager_power_off(void) {}
|
||||||
|
#endif
|
||||||
|
|
||||||
struct ps3_prealloc {
|
struct ps3_prealloc {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
Loading…
Reference in a new issue