summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/s5p-mfc/s5p_mfc.c
diff options
context:
space:
mode:
authorSachin Kamat2012-05-10 08:32:01 +0200
committerMauro Carvalho Chehab2012-05-20 14:03:18 +0200
commita13bba4f35eee67552b0fcfb0790d9a0f5f5fd07 (patch)
tree6ef9e881170ba685525b2acf807b7d41a573fb2d /drivers/media/video/s5p-mfc/s5p_mfc.c
parent[media] s5p-mfc: Fix NULL pointer warnings (diff)
downloadkernel-qcow2-linux-a13bba4f35eee67552b0fcfb0790d9a0f5f5fd07.tar.gz
kernel-qcow2-linux-a13bba4f35eee67552b0fcfb0790d9a0f5f5fd07.tar.xz
kernel-qcow2-linux-a13bba4f35eee67552b0fcfb0790d9a0f5f5fd07.zip
[media] s5p-mfc: Add missing static storage class to silence warnings
Fixes the following sparse warnings: drivers/media/video/s5p-mfc/s5p_mfc.c:73:6 warning: symbol 's5p_mfc_watchdog' was not declared. Should it be static? drivers/media/video/s5p-mfc/s5p_mfc_opr.c:299:6: warning: symbol 's5p_mfc_set_shared_buffer' was not declared. Should it be static? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/s5p-mfc/s5p_mfc.c')
-rw-r--r--drivers/media/video/s5p-mfc/s5p_mfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-mfc/s5p_mfc.c b/drivers/media/video/s5p-mfc/s5p_mfc.c
index 9b7fe3375877..6fc22256847b 100644
--- a/drivers/media/video/s5p-mfc/s5p_mfc.c
+++ b/drivers/media/video/s5p-mfc/s5p_mfc.c
@@ -70,7 +70,7 @@ static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason,
wake_up(&dev->queue);
}
-void s5p_mfc_watchdog(unsigned long arg)
+static void s5p_mfc_watchdog(unsigned long arg)
{
struct s5p_mfc_dev *dev = (struct s5p_mfc_dev *)arg;