summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-irq.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-08-23 10:42:59 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-08-23 10:42:59 +0200
commit4cd021e1812491396b85d2f96ac4e6a68b021b15 (patch)
tree87824be133c0f0d0ef6d0858244e17951137c736 /linux/drivers/media/video/ivtv/ivtv-irq.h
parentba03da316f9e322ba08e66ce79a12f122e731b45 (diff)
downloadmediapointer-dvb-s2-4cd021e1812491396b85d2f96ac4e6a68b021b15.tar.gz
mediapointer-dvb-s2-4cd021e1812491396b85d2f96ac4e6a68b021b15.tar.bz2
ivtv: header cleanup
From: Hans Verkuil <hverkuil@xs4all.nl> - add guards - remove unused header includes - move card-specific stuff from ivtv-driver.h to ivtv-cards.h - move YUV-specific stuff from ivtv-driver.h to ivtv-yuv.h Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-irq.h')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-irq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-irq.h b/linux/drivers/media/video/ivtv/ivtv-irq.h
index 77fca605f..6b65c2c81 100644
--- a/linux/drivers/media/video/ivtv/ivtv-irq.h
+++ b/linux/drivers/media/video/ivtv/ivtv-irq.h
@@ -19,6 +19,9 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifndef IVTV_IRQ_H
+#define IVTV_IRQ_H
+
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18)
irqreturn_t ivtv_irq_handler(int irq, void *dev_id, struct pt_regs *regs);
#else
@@ -32,3 +35,5 @@ void ivtv_irq_work_handler(void *arg);
#endif
void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock);
void ivtv_unfinished_dma(unsigned long arg);
+
+#endif