diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-05-09 16:09:14 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-10 07:28:13 -0400 |
commit | 6e66837b2669d6c07177ada4db9ec47ce9c31873 (patch) | |
tree | 783bde465d2d95c21658eb8ce47f8984d5a9c7f2 | |
parent | 17213c3bf67bd532d4d04c286663f9bbf92b9c18 (diff) |
[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>
-rw-r--r-- | include/asm-powerpc/ps3.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h index 13c372df99e8..1e04651eedc4 100644 --- a/include/asm-powerpc/ps3.h +++ b/include/asm-powerpc/ps3.h | |||
@@ -377,8 +377,13 @@ int ps3_vuart_port_device_register(struct ps3_vuart_port_device *dev); | |||
377 | 377 | ||
378 | /* system manager */ | 378 | /* system manager */ |
379 | 379 | ||
380 | #ifdef CONFIG_PS3_SYS_MANAGER | ||
380 | void ps3_sys_manager_restart(void); | 381 | void ps3_sys_manager_restart(void); |
381 | void ps3_sys_manager_power_off(void); | 382 | void ps3_sys_manager_power_off(void); |
383 | #else | ||
384 | static inline void ps3_sys_manager_restart(void) {} | ||
385 | static inline void ps3_sys_manager_power_off(void) {} | ||
386 | #endif | ||
382 | 387 | ||
383 | struct ps3_prealloc { | 388 | struct ps3_prealloc { |
384 | const char *name; | 389 | const char *name; |