aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-01-14 06:09:41 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-05 17:29:14 -0200
commit0e5d61d87b3a1ad5591e0dfbe4c548f862e9f5a6 (patch)
treed09d46635c1f394007d046abb2b0c7537103cf3e /drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
parentfa8880bece7321d61a7a5e7bf4b67832071ee047 (diff)
downloadlinaro-lsk-0e5d61d87b3a1ad5591e0dfbe4c548f862e9f5a6.tar.gz
[media] s5p-mfc: Use NULL instead of 0 for pointer
Fixes the following warning: drivers/media/platform/s5p-mfc/s5p_mfc_opr.c:56:27: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-mfc/s5p_mfc_opr.c')
-rw-r--r--drivers/media/platform/s5p-mfc/s5p_mfc_opr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
index b4c194331d8..10f8ac37cec 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
@@ -53,7 +53,7 @@ void s5p_mfc_release_priv_buf(struct device *dev,
{
if (b->virt) {
dma_free_coherent(dev, b->size, b->virt, b->dma);
- b->virt = 0;
+ b->virt = NULL;
b->dma = 0;
b->size = 0;
}