diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-04-11 09:26:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:58:02 -0400 |
commit | 5d7dc8c4f667070dbc9a65e93b0e88ba9d19f22a (patch) | |
tree | 4e35b2211bcea39a5645016d25e92fe33cc34e5e /drivers/media/common | |
parent | a8558577ff5562fe52c2c493e5bbc3dcdec7ce2f (diff) |
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>
Diffstat (limited to 'drivers/media/common')
-rw-r--r-- | drivers/media/common/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/common/saa7146_fops.c | 4 | ||||
-rw-r--r-- | drivers/media/common/saa7146_hlp.c | 1 | ||||
-rw-r--r-- | drivers/media/common/saa7146_video.c | 2 | ||||
-rw-r--r-- | drivers/media/common/saa7146_vv_ksyms.c | 12 |
5 files changed, 8 insertions, 13 deletions
diff --git a/drivers/media/common/Makefile b/drivers/media/common/Makefile index 61b89617a967..8e7448230643 100644 --- a/drivers/media/common/Makefile +++ b/drivers/media/common/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | saa7146-objs := saa7146_i2c.o saa7146_core.o | 1 | saa7146-objs := saa7146_i2c.o saa7146_core.o |
2 | saa7146_vv-objs := saa7146_vv_ksyms.o saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o | 2 | saa7146_vv-objs := saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o |
3 | ir-common-objs := ir-functions.o ir-keymaps.o | 3 | ir-common-objs := ir-functions.o ir-keymaps.o |
4 | 4 | ||
5 | obj-$(CONFIG_VIDEO_SAA7146) += saa7146.o | 5 | obj-$(CONFIG_VIDEO_SAA7146) += saa7146.o |
diff --git a/drivers/media/common/saa7146_fops.c b/drivers/media/common/saa7146_fops.c index 523ab3851c7b..0027acc5b8e9 100644 --- a/drivers/media/common/saa7146_fops.c +++ b/drivers/media/common/saa7146_fops.c | |||
@@ -501,6 +501,7 @@ int saa7146_vv_init(struct saa7146_dev* dev, struct saa7146_ext_vv *ext_vv) | |||
501 | 501 | ||
502 | return 0; | 502 | return 0; |
503 | } | 503 | } |
504 | EXPORT_SYMBOL_GPL(saa7146_vv_init); | ||
504 | 505 | ||
505 | int saa7146_vv_release(struct saa7146_dev* dev) | 506 | int saa7146_vv_release(struct saa7146_dev* dev) |
506 | { | 507 | { |
@@ -515,6 +516,7 @@ int saa7146_vv_release(struct saa7146_dev* dev) | |||
515 | 516 | ||
516 | return 0; | 517 | return 0; |
517 | } | 518 | } |
519 | EXPORT_SYMBOL_GPL(saa7146_vv_release); | ||
518 | 520 | ||
519 | int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev, | 521 | int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev, |
520 | char *name, int type) | 522 | char *name, int type) |
@@ -553,6 +555,7 @@ int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev, | |||
553 | *vid = vfd; | 555 | *vid = vfd; |
554 | return 0; | 556 | return 0; |
555 | } | 557 | } |
558 | EXPORT_SYMBOL_GPL(saa7146_register_device); | ||
556 | 559 | ||
557 | int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev) | 560 | int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev) |
558 | { | 561 | { |
@@ -571,6 +574,7 @@ int saa7146_unregister_device(struct video_device **vid, struct saa7146_dev* dev | |||
571 | 574 | ||
572 | return 0; | 575 | return 0; |
573 | } | 576 | } |
577 | EXPORT_SYMBOL_GPL(saa7146_unregister_device); | ||
574 | 578 | ||
575 | static int __init saa7146_vv_init_module(void) | 579 | static int __init saa7146_vv_init_module(void) |
576 | { | 580 | { |
diff --git a/drivers/media/common/saa7146_hlp.c b/drivers/media/common/saa7146_hlp.c index 33bec8a6843b..2092e6c33dd2 100644 --- a/drivers/media/common/saa7146_hlp.c +++ b/drivers/media/common/saa7146_hlp.c | |||
@@ -641,6 +641,7 @@ void saa7146_set_hps_source_and_sync(struct saa7146_dev *dev, int source, int sy | |||
641 | vv->current_hps_source = source; | 641 | vv->current_hps_source = source; |
642 | vv->current_hps_sync = sync; | 642 | vv->current_hps_sync = sync; |
643 | } | 643 | } |
644 | EXPORT_SYMBOL_GPL(saa7146_set_hps_source_and_sync); | ||
644 | 645 | ||
645 | int saa7146_enable_overlay(struct saa7146_fh *fh) | 646 | int saa7146_enable_overlay(struct saa7146_fh *fh) |
646 | { | 647 | { |
diff --git a/drivers/media/common/saa7146_video.c b/drivers/media/common/saa7146_video.c index e7079d1bd537..8393d472d3b8 100644 --- a/drivers/media/common/saa7146_video.c +++ b/drivers/media/common/saa7146_video.c | |||
@@ -318,6 +318,7 @@ int saa7146_start_preview(struct saa7146_fh *fh) | |||
318 | 318 | ||
319 | return 0; | 319 | return 0; |
320 | } | 320 | } |
321 | EXPORT_SYMBOL_GPL(saa7146_start_preview); | ||
321 | 322 | ||
322 | int saa7146_stop_preview(struct saa7146_fh *fh) | 323 | int saa7146_stop_preview(struct saa7146_fh *fh) |
323 | { | 324 | { |
@@ -352,6 +353,7 @@ int saa7146_stop_preview(struct saa7146_fh *fh) | |||
352 | 353 | ||
353 | return 0; | 354 | return 0; |
354 | } | 355 | } |
356 | EXPORT_SYMBOL_GPL(saa7146_stop_preview); | ||
355 | 357 | ||
356 | static int s_fmt(struct saa7146_fh *fh, struct v4l2_format *f) | 358 | static int s_fmt(struct saa7146_fh *fh, struct v4l2_format *f) |
357 | { | 359 | { |
diff --git a/drivers/media/common/saa7146_vv_ksyms.c b/drivers/media/common/saa7146_vv_ksyms.c deleted file mode 100644 index 62226eb4753b..000000000000 --- a/drivers/media/common/saa7146_vv_ksyms.c +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #include <linux/module.h> | ||
2 | #include <media/saa7146_vv.h> | ||
3 | |||
4 | EXPORT_SYMBOL_GPL(saa7146_start_preview); | ||
5 | EXPORT_SYMBOL_GPL(saa7146_stop_preview); | ||
6 | |||
7 | EXPORT_SYMBOL_GPL(saa7146_set_hps_source_and_sync); | ||
8 | EXPORT_SYMBOL_GPL(saa7146_register_device); | ||
9 | EXPORT_SYMBOL_GPL(saa7146_unregister_device); | ||
10 | |||
11 | EXPORT_SYMBOL_GPL(saa7146_vv_init); | ||
12 | EXPORT_SYMBOL_GPL(saa7146_vv_release); | ||