diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-03-12 02:13:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 08:02:45 -0400 |
commit | e6364a987413b9e5413b48e9d31ecdd2b02bb28b (patch) | |
tree | 17a0223c732013528836404e65fa0386ecc5e1c6 /drivers/media/video | |
parent | ef6a6ddc4d084774bac14df8b8867a42739cf142 (diff) |
[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: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/s5p-tv/mixer.h | 2 | ||||
-rw-r--r-- | drivers/media/video/s5p-tv/mixer_video.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/s5p-tv/mixer.h b/drivers/media/video/s5p-tv/mixer.h index fa3e30f27447..ddb422e23550 100644 --- a/drivers/media/video/s5p-tv/mixer.h +++ b/drivers/media/video/s5p-tv/mixer.h | |||
@@ -294,7 +294,7 @@ int __devinit mxr_acquire_video(struct mxr_device *mdev, | |||
294 | struct mxr_output_conf *output_cont, int output_count); | 294 | struct mxr_output_conf *output_cont, int output_count); |
295 | 295 | ||
296 | /** releasing common video resources */ | 296 | /** releasing common video resources */ |
297 | void __devexit mxr_release_video(struct mxr_device *mdev); | 297 | void mxr_release_video(struct mxr_device *mdev); |
298 | 298 | ||
299 | struct mxr_layer *mxr_graph_layer_create(struct mxr_device *mdev, int idx); | 299 | struct mxr_layer *mxr_graph_layer_create(struct mxr_device *mdev, int idx); |
300 | struct mxr_layer *mxr_vp_layer_create(struct mxr_device *mdev, int idx); | 300 | struct mxr_layer *mxr_vp_layer_create(struct mxr_device *mdev, int idx); |
diff --git a/drivers/media/video/s5p-tv/mixer_video.c b/drivers/media/video/s5p-tv/mixer_video.c index fa7feb53ffd7..33fde2a763ec 100644 --- a/drivers/media/video/s5p-tv/mixer_video.c +++ b/drivers/media/video/s5p-tv/mixer_video.c | |||
@@ -140,7 +140,7 @@ fail: | |||
140 | return ret; | 140 | return ret; |
141 | } | 141 | } |
142 | 142 | ||
143 | void __devexit mxr_release_video(struct mxr_device *mdev) | 143 | void mxr_release_video(struct mxr_device *mdev) |
144 | { | 144 | { |
145 | int i; | 145 | int i; |
146 | 146 | ||