Commit bc5e66bd authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent e42c8c6e
...@@ -410,7 +410,6 @@ static int stop_video_dma(struct cx8800_dev *dev) ...@@ -410,7 +410,6 @@ static int stop_video_dma(struct cx8800_dev *dev)
cx_clear(MO_VID_INTMSK, 0x0f0011); cx_clear(MO_VID_INTMSK, 0x0f0011);
return 0; return 0;
} }
#endif
static int restart_video_queue(struct cx8800_dev *dev, static int restart_video_queue(struct cx8800_dev *dev,
struct cx88_dmaqueue *q) struct cx88_dmaqueue *q)
...@@ -426,6 +425,7 @@ static int restart_video_queue(struct cx8800_dev *dev, ...@@ -426,6 +425,7 @@ static int restart_video_queue(struct cx8800_dev *dev,
} }
return 0; return 0;
} }
#endif
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment