diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-01 11:59:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:29 -0400 |
commit | 408b664a7d394a5e4315fbd14aca49b042cb2b08 (patch) | |
tree | bd3ebe72229227962d157e46e61ed65b78d6e28b /drivers/media/video/cx88/cx88-video.c | |
parent | c31403a1f5a761599df38bcc2d6ba94f24320c33 (diff) |
[PATCH] make lots of things static
Another large rollup of various patches from Adrian which make things static
where they were needlessly exported.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index 701f594e1816..d1f5c92f0ce5 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -325,7 +325,7 @@ static struct cx88_ctrl cx8800_ctls[] = { | |||
325 | .shift = 0, | 325 | .shift = 0, |
326 | } | 326 | } |
327 | }; | 327 | }; |
328 | const int CX8800_CTLS = ARRAY_SIZE(cx8800_ctls); | 328 | static const int CX8800_CTLS = ARRAY_SIZE(cx8800_ctls); |
329 | 329 | ||
330 | /* ------------------------------------------------------------------- */ | 330 | /* ------------------------------------------------------------------- */ |
331 | /* resource management */ | 331 | /* resource management */ |
@@ -665,7 +665,7 @@ static void buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb) | |||
665 | cx88_free_buffer(fh->dev->pci,buf); | 665 | cx88_free_buffer(fh->dev->pci,buf); |
666 | } | 666 | } |
667 | 667 | ||
668 | struct videobuf_queue_ops cx8800_video_qops = { | 668 | static struct videobuf_queue_ops cx8800_video_qops = { |
669 | .buf_setup = buffer_setup, | 669 | .buf_setup = buffer_setup, |
670 | .buf_prepare = buffer_prepare, | 670 | .buf_prepare = buffer_prepare, |
671 | .buf_queue = buffer_queue, | 671 | .buf_queue = buffer_queue, |
@@ -1924,7 +1924,7 @@ static struct file_operations video_fops = | |||
1924 | .llseek = no_llseek, | 1924 | .llseek = no_llseek, |
1925 | }; | 1925 | }; |
1926 | 1926 | ||
1927 | struct video_device cx8800_video_template = | 1927 | static struct video_device cx8800_video_template = |
1928 | { | 1928 | { |
1929 | .name = "cx8800-video", | 1929 | .name = "cx8800-video", |
1930 | .type = VID_TYPE_CAPTURE|VID_TYPE_TUNER|VID_TYPE_SCALES, | 1930 | .type = VID_TYPE_CAPTURE|VID_TYPE_TUNER|VID_TYPE_SCALES, |
@@ -1933,7 +1933,7 @@ struct video_device cx8800_video_template = | |||
1933 | .minor = -1, | 1933 | .minor = -1, |
1934 | }; | 1934 | }; |
1935 | 1935 | ||
1936 | struct video_device cx8800_vbi_template = | 1936 | static struct video_device cx8800_vbi_template = |
1937 | { | 1937 | { |
1938 | .name = "cx8800-vbi", | 1938 | .name = "cx8800-vbi", |
1939 | .type = VID_TYPE_TELETEXT|VID_TYPE_TUNER, | 1939 | .type = VID_TYPE_TELETEXT|VID_TYPE_TUNER, |
@@ -1951,7 +1951,7 @@ static struct file_operations radio_fops = | |||
1951 | .llseek = no_llseek, | 1951 | .llseek = no_llseek, |
1952 | }; | 1952 | }; |
1953 | 1953 | ||
1954 | struct video_device cx8800_radio_template = | 1954 | static struct video_device cx8800_radio_template = |
1955 | { | 1955 | { |
1956 | .name = "cx8800-radio", | 1956 | .name = "cx8800-radio", |
1957 | .type = VID_TYPE_TUNER, | 1957 | .type = VID_TYPE_TUNER, |
@@ -2226,7 +2226,7 @@ static int cx8800_resume(struct pci_dev *pci_dev) | |||
2226 | 2226 | ||
2227 | /* ----------------------------------------------------------- */ | 2227 | /* ----------------------------------------------------------- */ |
2228 | 2228 | ||
2229 | struct pci_device_id cx8800_pci_tbl[] = { | 2229 | static struct pci_device_id cx8800_pci_tbl[] = { |
2230 | { | 2230 | { |
2231 | .vendor = 0x14f1, | 2231 | .vendor = 0x14f1, |
2232 | .device = 0x8800, | 2232 | .device = 0x8800, |