diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 12:02:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 16:39:14 -0400 |
commit | dcadd0826fce17e77cd6260569cbb3dd681c868c (patch) | |
tree | 2ba2c743a0a8eb0e1ba0ac5a07c4ff89771d8b21 /include/media | |
parent | 64decbfe0dca9535a6f9b0c6fa654e3c2eb47877 (diff) |
V4L/DVB (9276): videobuf-dvb: two functions are now static
This patch marks those two functions as static:
static int videobuf_dvb_register_adapter(struct videobuf_dvb_frontends *fe,
static int videobuf_dvb_register_frontend(struct dvb_adapter *adapter,
Since MFE patches changed their calls by videobuf_dvb_register_bus.
To avoid having to declare the prototypes, the patch moves
videobuf_dvb_register_bus() to be after the declaration of the above functions
used there.
Cc: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/videobuf-dvb.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/media/videobuf-dvb.h b/include/media/videobuf-dvb.h index 52ddda90d3f..80471c2b634 100644 --- a/include/media/videobuf-dvb.h +++ b/include/media/videobuf-dvb.h | |||
@@ -46,16 +46,6 @@ int videobuf_dvb_register_bus(struct videobuf_dvb_frontends *f, | |||
46 | 46 | ||
47 | void videobuf_dvb_unregister_bus(struct videobuf_dvb_frontends *f); | 47 | void videobuf_dvb_unregister_bus(struct videobuf_dvb_frontends *f); |
48 | 48 | ||
49 | int videobuf_dvb_register_adapter(struct videobuf_dvb_frontends *f, | ||
50 | struct module *module, | ||
51 | void *adapter_priv, | ||
52 | struct device *device, | ||
53 | char *adapter_name, | ||
54 | short *adapter_nr, | ||
55 | int mfe_shared); | ||
56 | |||
57 | int videobuf_dvb_register_frontend(struct dvb_adapter *adapter, struct videobuf_dvb *dvb); | ||
58 | |||
59 | struct videobuf_dvb_frontend * videobuf_dvb_alloc_frontend(struct videobuf_dvb_frontends *f, int id); | 49 | struct videobuf_dvb_frontend * videobuf_dvb_alloc_frontend(struct videobuf_dvb_frontends *f, int id); |
60 | 50 | ||
61 | struct videobuf_dvb_frontend * videobuf_dvb_get_frontend(struct videobuf_dvb_frontends *f, int id); | 51 | struct videobuf_dvb_frontend * videobuf_dvb_get_frontend(struct videobuf_dvb_frontends *f, int id); |