summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 18:55:35 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-10 22:58:00 +0200
commitbc5e66bd2591424f0e08d5478a36a8074fe739f5 (patch)
tree0191d8c66c0d20321585bacf0fe646e55656dae9 /drivers/media/pci
parent[media] au0828: move dev->boards atribuition to happen earlier (diff)
downloadlinux-bc5e66bd2591424f0e08d5478a36a8074fe739f5.tar.xz
linux-bc5e66bd2591424f0e08d5478a36a8074fe739f5.zip
[media] cx88: don't declare restart_video_queue if not used
While compiled on alpha, got this error: drivers/media/pci/cx88/cx88-video.c:415:12: warning: 'restart_video_queue' defined but not used [-Wunused-function] Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r--drivers/media/pci/cx88/cx88-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx88/cx88-video.c b/drivers/media/pci/cx88/cx88-video.c
index cebb07d87617..400e5caefd58 100644
--- a/drivers/media/pci/cx88/cx88-video.c
+++ b/drivers/media/pci/cx88/cx88-video.c
@@ -410,7 +410,6 @@ static int stop_video_dma(struct cx8800_dev *dev)
cx_clear(MO_VID_INTMSK, 0x0f0011);
return 0;
}
-#endif
static int restart_video_queue(struct cx8800_dev *dev,
struct cx88_dmaqueue *q)
@@ -426,6 +425,7 @@ static int restart_video_queue(struct cx8800_dev *dev,
}
return 0;
}
+#endif
/* ------------------------------------------------------------------ */