diff options
author | Michael Hunold <devnull@localhost> | 2003-07-01 11:34:48 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-07-01 11:34:48 +0000 |
commit | e4454a7ce06d63bb81ab7d436a868063aed1a216 (patch) | |
tree | 7f7bffce1abdbff382dc9d2985daf1aef2a53661 | |
parent | a0e4c3a6705764d9c17e7cdc948b351a1eeced02 (diff) | |
download | mediapointer-dvb-s2-e4454a7ce06d63bb81ab7d436a868063aed1a216.tar.gz mediapointer-dvb-s2-e4454a7ce06d63bb81ab7d436a868063aed1a216.tar.bz2 |
Holger:
Kannst Du das bitte ändern und die EXPORT_SYMBOL*()-Gesichten in ein saa7146_ksyms.c oder wie auch immer kapseln?
"saa7146_core.c" has all dependencies for the "saa7146_core.o" module
(saa7146_core.c and saa7146_i2c.c)
The dependencies for the "saa7146_vv.o" module have been moved from
the source files to "saa7146_vv_ksyms.c", the Makefiles habe been
changed accordingly.
Ok?
-rw-r--r-- | linux/drivers/media/common/Makefile | 2 | ||||
-rw-r--r-- | linux/drivers/media/common/saa7146_fops.c | 7 | ||||
-rw-r--r-- | linux/drivers/media/common/saa7146_vbi.c | 2 | ||||
-rw-r--r-- | linux/drivers/media/common/saa7146_video.c | 5 | ||||
-rw-r--r-- | linux/drivers/media/common/saa7146_vv_ksyms.c | 15 |
5 files changed, 16 insertions, 15 deletions
diff --git a/linux/drivers/media/common/Makefile b/linux/drivers/media/common/Makefile index b067b12c6..4e889f811 100644 --- a/linux/drivers/media/common/Makefile +++ b/linux/drivers/media/common/Makefile @@ -1,5 +1,5 @@ saa7146-objs := saa7146_i2c.o saa7146_core.o -saa7146_vv-objs := saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o +saa7146_vv-objs := saa7146_vv_ksyms.o saa7146_fops.o saa7146_video.o saa7146_hlp.o saa7146_vbi.o obj-$(CONFIG_VIDEO_SAA7146) += saa7146.o saa7146_vv.o diff --git a/linux/drivers/media/common/saa7146_fops.c b/linux/drivers/media/common/saa7146_fops.c index 314144245..73d39004b 100644 --- a/linux/drivers/media/common/saa7146_fops.c +++ b/linux/drivers/media/common/saa7146_fops.c @@ -486,13 +486,6 @@ static void __exit saa7146_vv_cleanup_module(void) module_init(saa7146_vv_init_module); module_exit(saa7146_vv_cleanup_module); -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); - MODULE_AUTHOR("Michael Hunold <michael@mihu.de>"); MODULE_DESCRIPTION("video4linux driver for saa7146-based hardware"); MODULE_LICENSE("GPL"); diff --git a/linux/drivers/media/common/saa7146_vbi.c b/linux/drivers/media/common/saa7146_vbi.c index b331f13d5..73051e784 100644 --- a/linux/drivers/media/common/saa7146_vbi.c +++ b/linux/drivers/media/common/saa7146_vbi.c @@ -444,5 +444,3 @@ struct saa7146_use_ops saa7146_vbi_uops = { .irq_done = vbi_irq_done, .read = vbi_read, }; - -EXPORT_SYMBOL_GPL(saa7146_vbi_uops); diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c index 4479d7189..ef443426e 100644 --- a/linux/drivers/media/common/saa7146_video.c +++ b/linux/drivers/media/common/saa7146_video.c @@ -1367,8 +1367,3 @@ struct saa7146_use_ops saa7146_video_uops = { .capture_begin = video_begin, .capture_end = video_end, }; - -EXPORT_SYMBOL_GPL(saa7146_video_uops); - -EXPORT_SYMBOL_GPL(saa7146_start_preview); -EXPORT_SYMBOL_GPL(saa7146_stop_preview); diff --git a/linux/drivers/media/common/saa7146_vv_ksyms.c b/linux/drivers/media/common/saa7146_vv_ksyms.c new file mode 100644 index 000000000..76f2e862f --- /dev/null +++ b/linux/drivers/media/common/saa7146_vv_ksyms.c @@ -0,0 +1,15 @@ +#include <linux/module.h> +#include <media/saa7146_vv.h> + +EXPORT_SYMBOL_GPL(saa7146_vbi_uops); +EXPORT_SYMBOL_GPL(saa7146_video_uops); + +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); |