From 2feb602917856a8805a8395869c1a9f19e9ffb0a Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sat, 18 Jun 2005 04:00:19 +0000 Subject: Allow backwards compatability with kernels < 2.6.12; add $id to tuner.h --- linux/include/media/video-buf-dvb.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'linux/include/media/video-buf-dvb.h') 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 @@ -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; -- cgit v1.2.3