[patch 07/18] PS3: Make ps3av.h usable from user space
Geoff Levand
geoffrey.levand at am.sony.com
Wed Jun 6 13:00:07 EST 2007
The user applications to manage the PS3 AV modes can use values
defined in this header.
CC: Masashi Kimoto <Masashi_Kimoto at hq.scei.sony.co.jp>
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
---
include/asm-powerpc/Kbuild | 1 +
include/asm-powerpc/ps3av.h | 2 ++
2 files changed, 3 insertions(+)
--- a/include/asm-powerpc/Kbuild
+++ b/include/asm-powerpc/Kbuild
@@ -34,6 +34,7 @@ unifdef-y += elf.h
unifdef-y += nvram.h
unifdef-y += param.h
unifdef-y += posix_types.h
+unifdef-y += ps3av.h
unifdef-y += ptrace.h
unifdef-y += seccomp.h
unifdef-y += signal.h
--- a/include/asm-powerpc/ps3av.h
+++ b/include/asm-powerpc/ps3av.h
@@ -321,6 +321,7 @@
#define PS3AV_MODE_RGB 0x0020
+#ifdef __KERNEL__
/** command packet structure **/
struct ps3av_send_hdr {
u16 version;
@@ -723,4 +724,5 @@ extern int ps3av_audio_mute(int);
extern int ps3av_dev_open(void);
extern int ps3av_dev_close(void);
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_PS3AV_H_ */
--
More information about the Linuxppc-dev
mailing list