hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/video/rockchip/mpp/mpp_common.c
....@@ -36,12 +36,6 @@
3636 #include "mpp_common.h"
3737 #include "mpp_iommu.h"
3838
39
-/* Use 'v' as magic number */
40
-#define MPP_IOC_MAGIC 'v'
41
-
42
-#define MPP_IOC_CFG_V1 _IOW(MPP_IOC_MAGIC, 1, unsigned int)
43
-#define MPP_IOC_CFG_V2 _IOW(MPP_IOC_MAGIC, 2, unsigned int)
44
-
4539 /* input parmater structure for version 1 */
4640 struct mpp_msg_v1 {
4741 __u32 cmd;
....@@ -49,14 +43,6 @@
4943 __u32 size;
5044 __u32 offset;
5145 __u64 data_ptr;
52
-};
53
-
54
-#define MPP_BAT_MSG_DONE (0x00000001)
55
-
56
-struct mpp_bat_msg {
57
- __u64 flag;
58
- __u32 fd;
59
- __s32 ret;
6046 };
6147
6248 #ifdef CONFIG_ROCKCHIP_MPP_PROC_FS