Skip to content

Commit

Permalink
[media] v4l: s5p-tv: Fix section mismatch warning in mixer_video.c
Browse files Browse the repository at this point in the history
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: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed May 20, 2012
1 parent ef6a6dd commit e6364a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/s5p-tv/mixer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/s5p-tv/mixer_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e6364a9

Please sign in to comment.