From 41bc3db33ec50d7790343fa7b9d77c8421e85bfb Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Wed, 26 Feb 2003 16:38:06 +0000 Subject: fixed dvb_dummy_fe.c:94: warning: function declaration isn't a prototype dvb_dummy_fe.c:27: warning: `debug' defined but not used --- linux/drivers/media/dvb/frontends/dvb_dummy_fe.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'linux/drivers/media') diff --git a/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c b/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c index 1576d6898..a5ef8d830 100644 --- a/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c +++ b/linux/drivers/media/dvb/frontends/dvb_dummy_fe.c @@ -24,9 +24,7 @@ #include "dvb_frontend.h" -static int debug = 0; static int sct = 0; -#define dprintk if (debug) printk /* depending on module parameter sct deliver different infos @@ -90,7 +88,7 @@ static struct dvb_frontend_info dvb_t_dummyfe_info = { FE_CAN_HIERARCHY_AUTO, }; -struct dvb_frontend_info *frontend_info() +struct dvb_frontend_info *frontend_info(void) { switch(sct) { @@ -218,5 +216,4 @@ module_exit(exit_dvbdummyfe); MODULE_DESCRIPTION("DVB DUMMY Frontend"); MODULE_AUTHOR("Emard"); MODULE_LICENSE("GPL"); -MODULE_PARM(debug, "i"); MODULE_PARM(sct, "i"); -- cgit v1.2.3