projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17213c3
)
[POWERPC] PS3: Fix sys manager build error
author
Geoff Levand
<geoffrey.levand@am.sony.com>
Wed, 9 May 2007 20:09:14 +0000
(06:09 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 10 May 2007 11:28:13 +0000
(21:28 +1000)
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>
include/asm-powerpc/ps3.h
patch
|
blob
|
history
diff --git
a/include/asm-powerpc/ps3.h
b/include/asm-powerpc/ps3.h
index 13c372df99e84aafa69256c4fa7af52c14989be8..1e04651eedc4bbc7819b0e17549af58cd6181d49 100644
(file)
--- 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);
/* system manager */
+#ifdef CONFIG_PS3_SYS_MANAGER
void ps3_sys_manager_restart(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 {
const char *name;