diff options
author | Andrew de Quincy <devnull@localhost> | 2004-11-09 07:11:16 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-11-09 07:11:16 +0000 |
commit | 7d89cdc4f670c767f39a06144899878d3dd5a6e1 (patch) | |
tree | b0cf42bc52f43bc4f5e4e6bf9db8649701cffe39 | |
parent | 130a007cf09d6a17c3592e81915c71559ee454a1 (diff) | |
download | mediapointer-dvb-s2-7d89cdc4f670c767f39a06144899878d3dd5a6e1.tar.gz mediapointer-dvb-s2-7d89cdc4f670c767f39a06144899878d3dd5a6e1.tar.bz2 |
Cope with missing init() function
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |