diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-01 11:51:53 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-02 02:48:59 +0300 |
commit | 15ac8e663b354ed98d43d149f718f6f15ab732ac (patch) | |
tree | 86ecc54df2f2337cda17d4140b993bbdfb3a08ad /drivers/media/dvb/dvb-usb/dvb-usb-init.c | |
parent | 18e55eea0104927feedfe81de1adf5e46a7ad1f3 (diff) | |
download | linux-15ac8e663b354ed98d43d149f718f6f15ab732ac.tar.xz |
[PATCH] DVB: Small cleanups and CodeStyle fixes
- Small cleanups:
- make needlessly global functions static
- every file should #include the headers containing the prototypes for it's
global functions
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dvb-usb-init.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-init.c b/drivers/media/dvb/dvb-usb/dvb-usb-init.c index a902059812a2..dd8e0b94edba 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-init.c +++ b/drivers/media/dvb/dvb-usb/dvb-usb-init.c @@ -23,7 +23,7 @@ module_param_named(disable_rc_polling, dvb_usb_disable_rc_polling, int, 0644); MODULE_PARM_DESC(disable_rc_polling, "disable remote control polling (default: 0)."); /* general initialization functions */ -int dvb_usb_exit(struct dvb_usb_device *d) +static int dvb_usb_exit(struct dvb_usb_device *d) { deb_info("state before exiting everything: %x\n",d->state); dvb_usb_remote_exit(d); |