diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-03-11 12:56:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-02 17:21:53 -0400 |
commit | fae119beddb5c102f117f7f4bd59803e0f6637df (patch) | |
tree | 10bf9f8df2c0bcb8fc4c32e6695df2c08dc6f1bb /drivers/media/pci | |
parent | 073e24f5217019850ac586a8b93cf596c9e1900b (diff) |
[media] media: pci: cx23885: don't export static symbol
The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@r@
type T;
identifier f;
@@
static T f (...) { ... }
@@
identifier r.f;
declarer name EXPORT_SYMBOL;
@@
-EXPORT_SYMBOL(f);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/cx23885/altera-ci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/pci/cx23885/altera-ci.c b/drivers/media/pci/cx23885/altera-ci.c index 2bbbf545b042..0a91df2c9f08 100644 --- a/drivers/media/pci/cx23885/altera-ci.c +++ b/drivers/media/pci/cx23885/altera-ci.c | |||
@@ -483,7 +483,6 @@ static void altera_hw_filt_release(void *main_dev, int filt_nr) | |||
483 | } | 483 | } |
484 | 484 | ||
485 | } | 485 | } |
486 | EXPORT_SYMBOL(altera_hw_filt_release); | ||
487 | 486 | ||
488 | void altera_ci_release(void *dev, int ci_nr) | 487 | void altera_ci_release(void *dev, int ci_nr) |
489 | { | 488 | { |
@@ -598,7 +597,6 @@ static int altera_pid_feed_control(void *demux_dev, int filt_nr, | |||
598 | 597 | ||
599 | return 0; | 598 | return 0; |
600 | } | 599 | } |
601 | EXPORT_SYMBOL(altera_pid_feed_control); | ||
602 | 600 | ||
603 | static int altera_ci_start_feed(struct dvb_demux_feed *feed, int num) | 601 | static int altera_ci_start_feed(struct dvb_demux_feed *feed, int num) |
604 | { | 602 | { |
@@ -699,7 +697,6 @@ err: | |||
699 | 697 | ||
700 | return ret; | 698 | return ret; |
701 | } | 699 | } |
702 | EXPORT_SYMBOL(altera_hw_filt_init); | ||
703 | 700 | ||
704 | int altera_ci_init(struct altera_ci_config *config, int ci_nr) | 701 | int altera_ci_init(struct altera_ci_config *config, int ci_nr) |
705 | { | 702 | { |