From 7d89cdc4f670c767f39a06144899878d3dd5a6e1 Mon Sep 17 00:00:00 2001 From: Andrew de Quincy Date: Tue, 9 Nov 2004 07:11:16 +0000 Subject: Cope with missing init() function --- linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c index a5b516fbb..f502ec625 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -282,7 +282,7 @@ static void dvb_frontend_init (struct dvb_frontend_data *fe) fe->frontend->dvb->num, fe->frontend->ops->info.name); - fe->frontend->ops->init(fe->frontend); + if (fe->frontend->ops->init) fe->frontend->ops->init(fe->frontend); } static void update_delay (int *quality, int *delay, int min_delay, int locked) -- cgit v1.2.3