diff options
Diffstat (limited to 'include/asm-powerpc/ps3av.h')
-rw-r--r-- | include/asm-powerpc/ps3av.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/include/asm-powerpc/ps3av.h b/include/asm-powerpc/ps3av.h index 5c1b989406e4..1366fc5b452d 100644 --- a/include/asm-powerpc/ps3av.h +++ b/include/asm-powerpc/ps3av.h | |||
@@ -18,8 +18,6 @@ | |||
18 | #ifndef _ASM_POWERPC_PS3AV_H_ | 18 | #ifndef _ASM_POWERPC_PS3AV_H_ |
19 | #define _ASM_POWERPC_PS3AV_H_ | 19 | #define _ASM_POWERPC_PS3AV_H_ |
20 | 20 | ||
21 | #include <linux/mutex.h> | ||
22 | |||
23 | /** command for ioctl() **/ | 21 | /** command for ioctl() **/ |
24 | #define PS3AV_VERSION 0x205 /* version of ps3av command */ | 22 | #define PS3AV_VERSION 0x205 /* version of ps3av command */ |
25 | 23 | ||
@@ -643,25 +641,6 @@ struct ps3av_pkt_avb_param { | |||
643 | u8 buf[PS3AV_PKT_AVB_PARAM_MAX_BUF_SIZE]; | 641 | u8 buf[PS3AV_PKT_AVB_PARAM_MAX_BUF_SIZE]; |
644 | }; | 642 | }; |
645 | 643 | ||
646 | struct ps3av { | ||
647 | int available; | ||
648 | struct semaphore sem; | ||
649 | struct work_struct work; | ||
650 | struct completion done; | ||
651 | struct workqueue_struct *wq; | ||
652 | struct mutex mutex; | ||
653 | int open_count; | ||
654 | struct ps3_vuart_port_device *dev; | ||
655 | |||
656 | int region; | ||
657 | struct ps3av_pkt_av_get_hw_conf av_hw_conf; | ||
658 | u32 av_port[PS3AV_AV_PORT_MAX + PS3AV_OPT_PORT_MAX]; | ||
659 | u32 opt_port[PS3AV_OPT_PORT_MAX]; | ||
660 | u32 head[PS3AV_HEAD_MAX]; | ||
661 | u32 audio_port; | ||
662 | int ps3av_mode; | ||
663 | int ps3av_mode_old; | ||
664 | }; | ||
665 | 644 | ||
666 | /** command status **/ | 645 | /** command status **/ |
667 | #define PS3AV_STATUS_SUCCESS 0x0000 /* success */ | 646 | #define PS3AV_STATUS_SUCCESS 0x0000 /* success */ |
@@ -719,6 +698,7 @@ static inline void ps3av_cmd_av_monitor_info_dump(const struct ps3av_pkt_av_get_ | |||
719 | extern int ps3av_cmd_video_get_monitor_info(struct ps3av_pkt_av_get_monitor_info *, | 698 | extern int ps3av_cmd_video_get_monitor_info(struct ps3av_pkt_av_get_monitor_info *, |
720 | u32); | 699 | u32); |
721 | 700 | ||
701 | struct ps3_vuart_port_device; | ||
722 | extern int ps3av_vuart_write(struct ps3_vuart_port_device *dev, | 702 | extern int ps3av_vuart_write(struct ps3_vuart_port_device *dev, |
723 | const void *buf, unsigned long size); | 703 | const void *buf, unsigned long size); |
724 | extern int ps3av_vuart_read(struct ps3_vuart_port_device *dev, void *buf, | 704 | extern int ps3av_vuart_read(struct ps3_vuart_port_device *dev, void *buf, |