From 6f164f38d8665e00c759fe365ca549a96403f331 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Tue, 5 Dec 2017 19:20:51 +0100 Subject: [PATCH] re-add some obsolete structs to make older programs compile --- include/linux/dvb/ca.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/dvb/ca.h b/include/linux/dvb/ca.h index cb15002..05edfa3 100644 --- a/include/linux/dvb/ca.h +++ b/include/linux/dvb/ca.h @@ -131,6 +131,11 @@ struct ca_descr { unsigned char cw[8]; }; +typedef struct ca_pid { + unsigned int pid; + int index;/* -1 == disable*/ +} ca_pid_t; + #define CA_RESET _IO('o', 128) #define CA_GET_CAP _IOR('o', 129, struct ca_caps) #define CA_GET_SLOT_INFO _IOR('o', 130, struct ca_slot_info) @@ -138,6 +143,7 @@ struct ca_descr { #define CA_GET_MSG _IOR('o', 132, struct ca_msg) #define CA_SEND_MSG _IOW('o', 133, struct ca_msg) #define CA_SET_DESCR _IOW('o', 134, struct ca_descr) +#define CA_SET_PID _IOW('o', 135, struct ca_pid) #if !defined(__KERNEL__)