diff options
author | Alex Woods <devnull@localhost> | 2004-01-21 00:55:53 +0000 |
---|---|---|
committer | Alex Woods <devnull@localhost> | 2004-01-21 00:55:53 +0000 |
commit | 7ea5519a6ea55cb4cbef26ae2f8e71054fe0f188 (patch) | |
tree | 10942502fb480dcc53baf905726bc6f48a6f43da /linux | |
parent | 148ea9ebf836af64c3883c18ce19d81f13526cfa (diff) | |
download | mediapointer-dvb-s2-7ea5519a6ea55cb4cbef26ae2f8e71054fe0f188.tar.gz mediapointer-dvb-s2-7ea5519a6ea55cb4cbef26ae2f8e71054fe0f188.tar.bz2 |
Fix compile for kernels < 2.4.20
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c index 93debe50e..8ac689e17 100644 --- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c @@ -703,7 +703,9 @@ static void ttusb_dec_process_urb(struct urb *urb, struct pt_regs *ptregs) int i; for (i = 0; i < FRAMES_PER_ISO_BUF; i++) { -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20) + piso_packet_descriptor_t d; +#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) struct iso_packet_descriptor *d; #else struct usb_iso_packet_descriptor *d; |