diff options
author | Michael Krufky <devnull@localhost> | 2005-06-18 04:00:19 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-06-18 04:00:19 +0000 |
commit | 2feb602917856a8805a8395869c1a9f19e9ffb0a (patch) | |
tree | 0f095e33bc7130bcafd8d6445ae844f969599635 /linux/include/media/video-buf-dvb.h | |
parent | 83c92774bba7834e2106aaaf57e4751adc068272 (diff) | |
download | mediapointer-dvb-s2-2feb602917856a8805a8395869c1a9f19e9ffb0a.tar.gz mediapointer-dvb-s2-2feb602917856a8805a8395869c1a9f19e9ffb0a.tar.bz2 |
Allow backwards compatability with kernels < 2.6.12; add $id to tuner.h
Diffstat (limited to 'linux/include/media/video-buf-dvb.h')
-rw-r--r-- | linux/include/media/video-buf-dvb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/include/media/video-buf-dvb.h b/linux/include/media/video-buf-dvb.h index 865836f50..848459f79 100644 --- a/linux/include/media/video-buf-dvb.h +++ b/linux/include/media/video-buf-dvb.h @@ -1,5 +1,5 @@ /* - * $Id: video-buf-dvb.h,v 1.6 2005/06/14 22:53:55 hhackmann Exp $ + * $Id: video-buf-dvb.h,v 1.7 2005/06/18 04:00:19 mkrufky Exp $ */ #include <dvbdev.h> @@ -20,7 +20,11 @@ struct videobuf_dvb { int nfeeds; /* videobuf_dvb_(un)register manges this */ +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)) struct dvb_adapter adapter; +#else + struct dvb_adapter *adapter; +#endif struct dvb_demux demux; struct dmxdev dmxdev; struct dmx_frontend fe_hw; |