From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail105-dub-R.bigfish.com (mail-dub.bigfish.com [213.199.154.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTP id 45244DDED8 for ; Wed, 6 Jun 2007 13:25:14 +1000 (EST) Message-ID: <46662337.9060908@am.sony.com> Date: Tue, 05 Jun 2007 20:00:07 -0700 From: Geoff Levand MIME-Version: 1.0 To: linuxppc-dev@ozlabs.org Subject: [patch 07/18] PS3: Make ps3av.h usable from user space References: <20070606024407.786638029@am.sony.com>> In-Reply-To: <20070606024407.786638029@am.sony.com>> Content-Type: text/plain; charset=UTF-8 Cc: Geert Uytterhoeven , Paul Mackerras , Masashi Kimoto List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , The user applications to manage the PS3 AV modes can use values defined in this header. CC: Masashi Kimoto Signed-off-by: Geert Uytterhoeven Signed-off-by: Geoff Levand --- 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_ */ --