aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2007-05-09 16:09:14 -0400
committerPaul Mackerras <paulus@samba.org>2007-05-10 07:28:13 -0400
commit6e66837b2669d6c07177ada4db9ec47ce9c31873 (patch)
tree783bde465d2d95c21658eb8ce47f8984d5a9c7f2 /include
parent17213c3bf67bd532d4d04c286663f9bbf92b9c18 (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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/ps3.h5
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
380void ps3_sys_manager_restart(void); 381void ps3_sys_manager_restart(void);
381void ps3_sys_manager_power_off(void); 382void ps3_sys_manager_power_off(void);
383#else
384static inline void ps3_sys_manager_restart(void) {}
385static inline void ps3_sys_manager_power_off(void) {}
386#endif
382 387
383struct ps3_prealloc { 388struct ps3_prealloc {
384 const char *name; 389 const char *name;