V4L/DVB (3770): Kill drivers/media/common/saa7146_vv_ksyms.c
This patch moves the EXPORT_SYMBOL's from drivers/media/common/saa7146_vv_ksyms.c to the files with the actual functions. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
a8558577ff
commit
5d7dc8c4f6
5 changed files with 8 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
saa7146-objs := saa7146_i2c.o saa7146_core.o
|
saa7146-objs := saa7146_i2c.o saa7146_core.o
|
||||||
saa7146_vv-objs := saa7146_vv_ksyms.o saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o
|
saa7146_vv-objs := saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o
|
||||||
ir-common-objs := ir-functions.o ir-keymaps.o
|
ir-common-objs := ir-functions.o ir-keymaps.o
|
||||||
|
|
||||||
obj-$(CONFIG_VIDEO_SAA7146) += saa7146.o
|
obj-$(CONFIG_VIDEO_SAA7146) += saa7146.o
|
||||||
|
|
|
@ -501,6 +501,7 @@ int saa7146_vv_init(struct saa7146_dev* dev, struct saa7146_ext_vv *ext_vv)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(saa7146_vv_init);
|
||||||
|
|
||||||
int saa7146_vv_release(struct saa7146_dev* dev)
|
int saa7146_vv_release(struct saa7146_dev* dev)
|
||||||
{
|
{
|
||||||
|
@ -515,6 +516,7 @@ int saa7146_vv_release(struct saa7146_dev* dev)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(saa7146_vv_release);
|
||||||
|
|
||||||
int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev,
|
int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev,
|
||||||
char *name, int type)
|
char *name, int type)
|
||||||
|
@ -553,6 +555,7 @@ int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev,
|
||||||
*vid = vfd;
|
*vid = vfd;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(saa7146_register_device);
|
||||||
|
|
||||||
int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev)
|
int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev)
|
||||||
{
|
{
|
||||||
|
@ -571,6 +574,7 @@ int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(saa7146_unregister_device);
|
||||||
|
|
||||||
static int __init saa7146_vv_init_module(void)
|
static int __init saa7146_vv_init_module(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -641,6 +641,7 @@ void saa7146_set_hps_source_and_sync(struct saa7146_dev *dev, int source, int sy
|
||||||
vv->current_hps_source = source;
|
vv->current_hps_source = source;
|
||||||
vv->current_hps_sync = sync;
|
vv->current_hps_sync = sync;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(saa7146_set_hps_source_and_sync);
|
||||||
|
|
||||||
int saa7146_enable_overlay(struct saa7146_fh *fh)
|
int saa7146_enable_overlay(struct saa7146_fh *fh)
|
||||||
{
|
{
|
||||||
|
|
|
@ -318,6 +318,7 @@ int saa7146_start_preview(struct saa7146_fh *fh)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(saa7146_start_preview);
|
||||||
|
|
||||||
int saa7146_stop_preview(struct saa7146_fh *fh)
|
int saa7146_stop_preview(struct saa7146_fh *fh)
|
||||||
{
|
{
|
||||||
|
@ -352,6 +353,7 @@ int saa7146_stop_preview(struct saa7146_fh *fh)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(saa7146_stop_preview);
|
||||||
|
|
||||||
static int s_fmt(struct saa7146_fh *fh, struct v4l2_format *f)
|
static int s_fmt(struct saa7146_fh *fh, struct v4l2_format *f)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
#include <linux/module.h>
|
|
||||||
#include <media/saa7146_vv.h>
|
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(saa7146_start_preview);
|
|
||||||
EXPORT_SYMBOL_GPL(saa7146_stop_preview);
|
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(saa7146_set_hps_source_and_sync);
|
|
||||||
EXPORT_SYMBOL_GPL(saa7146_register_device);
|
|
||||||
EXPORT_SYMBOL_GPL(saa7146_unregister_device);
|
|
||||||
|
|
||||||
EXPORT_SYMBOL_GPL(saa7146_vv_init);
|
|
||||||
EXPORT_SYMBOL_GPL(saa7146_vv_release);
|
|
Loading…
Add table
Reference in a new issue