]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] v4l: s5p-tv: Fix section mismatch warning in mixer_video.c
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 12 Mar 2012 06:13:34 +0000 (03:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 12:02:45 +0000 (09:02 -0300)
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>
drivers/media/video/s5p-tv/mixer.h
drivers/media/video/s5p-tv/mixer_video.c

index fa3e30f27447439c9e207315cf99577444a23157..ddb422e23550214df4877bd1767495723acab0a9 100644 (file)
@@ -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);
index fa7feb53ffd7abd94eeba897fa5652eb7b8a614f..33fde2a763ecf57da6549ffdd24900f97fc1e710 100644 (file)
@@ -140,7 +140,7 @@ fail:
        return ret;
 }
 
-void __devexit mxr_release_video(struct mxr_device *mdev)
+void mxr_release_video(struct mxr_device *mdev)
 {
        int i;