diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-05 18:25:22 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-05 18:25:22 +0000 |
commit | 016a5fafc5978414611068f581382668cc52ee9c (patch) | |
tree | 94c697422b8ec88d25c793be771d1f443895f714 /linux/drivers/media/video/cx18/cx18-i2c.c | |
parent | 8b21bbd63b7b73b55a57f2d8b1bf2aacd2f80874 (diff) | |
download | mediapointer-dvb-s2-016a5fafc5978414611068f581382668cc52ee9c.tar.gz mediapointer-dvb-s2-016a5fafc5978414611068f581382668cc52ee9c.tar.bz2 |
cx18/: possible cleanups
From: Adrian Bunk <bunk@kernel.org>
This patch contains the following possible cleanups:
- cx18-i2c.c should #include "cx18-i2c.h" for getting the prototypes of
it's global functions
- make the following needlessly global functions static:
- cx18-fileops.c:cx18_claim_stream()
- cx18-fileops.c:cx18_release_stream()
- cx18-queue.c:cx18_queue_move()
- remove the following unused functions:
- cx18-driver.c:cx18_waitq()
- cx18-queue.c:cx18_buf_copy_from_user()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-i2c.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-i2c.c b/linux/drivers/media/video/cx18/cx18-i2c.c index 92dd5af11..940e3718d 100644 --- a/linux/drivers/media/video/cx18/cx18-i2c.c +++ b/linux/drivers/media/video/cx18/cx18-i2c.c @@ -25,6 +25,7 @@ #include "cx18-cards.h" #include "cx18-gpio.h" #include "cx18-av-core.h" +#include "cx18-i2c.h" #include <media/ir-kbd-i2c.h> |