提交 e6364a98 编写于 作者: S Sachin Kamat 提交者: Mauro Carvalho Chehab

[media] v4l: s5p-tv: Fix section mismatch warning in mixer_video.c

The function __devinit mxr_probe() references
a function __devexit mxr_release_video().

Since mxr_release_video() is referenced outside the exit section, the following
compilation warning is generated which is fixed here:

WARNING: drivers/media/video/s5p-tv/s5p-mixer.o(.devinit.text+0x340):
Section mismatch in reference from the function mxr_probe() to the function
devexit.text:mxr_release_video()
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 ef6a6ddc
......@@ -294,7 +294,7 @@ int __devinit mxr_acquire_video(struct mxr_device *mdev,
struct mxr_output_conf *output_cont, int output_count);
/** releasing common video resources */
void __devexit mxr_release_video(struct mxr_device *mdev);
void mxr_release_video(struct mxr_device *mdev);
struct mxr_layer *mxr_graph_layer_create(struct mxr_device *mdev, int idx);
struct mxr_layer *mxr_vp_layer_create(struct mxr_device *mdev, int idx);
......
......@@ -140,7 +140,7 @@ int __devinit mxr_acquire_video(struct mxr_device *mdev,
return ret;
}
void __devexit mxr_release_video(struct mxr_device *mdev)
void mxr_release_video(struct mxr_device *mdev)
{
int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册