From a6a0a0d60a40e401e82c9a40d9216d925a4eabbf Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Fri, 26 Nov 2004 10:26:09 +0000 Subject: FE_GET_EVENT wrapper. --- linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'linux/drivers') diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index e71fc484a..20a7271d0 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -607,6 +607,16 @@ static int cinergyt2_ioctl (struct inode *inode, struct file *file, * functionality. */ break; + case FE_GET_EVENT: + { + /** + * for now we only fill the status field. the parameters + * are trivial to fill as soon FE_GET_FRONTEND is done. + */ + struct dvb_frontend_event *e = (void *) arg; + return cinergyt2_ioctl(inode, file, FE_GET_EVENT, + (unsigned long) &e->status); + } default: ; -- cgit v1.2.3