Commit b3163786 authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[PATCH] v4l: disable unused function.

#ifdef out a currently unused (in-kernel) function, lets see if any
out-of-kernel users cry.  If not we can drop it altogether later on.
Signed-off-by: default avatarGerd Knorr <kraxel@bytesex.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dd74257b
...@@ -84,6 +84,7 @@ MODULE_LICENSE("GPL"); ...@@ -84,6 +84,7 @@ MODULE_LICENSE("GPL");
* Video Standard Operations (contributed by Michael Schimek) * Video Standard Operations (contributed by Michael Schimek)
*/ */
#if 0 /* seems to have no users */
/* This is the recommended method to deal with the framerate fields. More /* This is the recommended method to deal with the framerate fields. More
sophisticated drivers will access the fields directly. */ sophisticated drivers will access the fields directly. */
unsigned int unsigned int
...@@ -95,6 +96,8 @@ v4l2_video_std_fps(struct v4l2_standard *vs) ...@@ -95,6 +96,8 @@ v4l2_video_std_fps(struct v4l2_standard *vs)
(1 << 7)) / (1 << 8); (1 << 7)) / (1 << 8);
return 0; return 0;
} }
EXPORT_SYMBOL(v4l2_video_std_fps);
#endif
/* Fill in the fields of a v4l2_standard structure according to the /* Fill in the fields of a v4l2_standard structure according to the
'id' and 'transmission' parameters. Returns negative on error. */ 'id' and 'transmission' parameters. Returns negative on error. */
...@@ -259,7 +262,6 @@ char *v4l2_ioctl_names[256] = { ...@@ -259,7 +262,6 @@ char *v4l2_ioctl_names[256] = {
/* ----------------------------------------------------------------- */ /* ----------------------------------------------------------------- */
EXPORT_SYMBOL(v4l2_video_std_fps);
EXPORT_SYMBOL(v4l2_video_std_construct); EXPORT_SYMBOL(v4l2_video_std_construct);
EXPORT_SYMBOL(v4l2_prio_init); EXPORT_SYMBOL(v4l2_prio_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment