summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/wl128x/fmdrv_v4l2.h
diff options
context:
space:
mode:
authorManjunatha Halli <manjunatha_halli@ti.com>2011-01-11 06:34:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:32:35 -0300
commit7e38849631c2f570fe66b52b5b54697fe338f194 (patch)
treee7bc1565f54352f9466d674e8f36c6a307e3022b /drivers/media/radio/wl128x/fmdrv_v4l2.h
parent8d19824ba2ef37ff989bee5941c87b45c4c6f468 (diff)
downloadop-kernel-dev-7e38849631c2f570fe66b52b5b54697fe338f194.zip
op-kernel-dev-7e38849631c2f570fe66b52b5b54697fe338f194.tar.gz
[media] drivers:media:radio: wl128x: FM Driver V4L2 sources
This module interfaces V4L2 subsystem and FM common module. It registers itself with V4L2 as Radio module. Signed-off-by: Manjunatha Halli <manjunatha_halli@ti.com> Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/wl128x/fmdrv_v4l2.h')
-rw-r--r--drivers/media/radio/wl128x/fmdrv_v4l2.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/media/radio/wl128x/fmdrv_v4l2.h b/drivers/media/radio/wl128x/fmdrv_v4l2.h
new file mode 100644
index 0000000..0ba79d7
--- /dev/null
+++ b/drivers/media/radio/wl128x/fmdrv_v4l2.h
@@ -0,0 +1,33 @@
+/*
+ * FM Driver for Connectivity chip of Texas Instruments.
+ *
+ * FM V4L2 module header.
+ *
+ * Copyright (C) 2011 Texas Instruments
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+#ifndef _FMDRV_V4L2_H
+#define _FMDRV_V4L2_H
+
+#include <media/v4l2-ioctl.h>
+#include <media/v4l2-common.h>
+#include <media/v4l2-ctrls.h>
+
+int fm_v4l2_init_video_device(struct fmdev *, int);
+void *fm_v4l2_deinit_video_device(void);
+
+#endif
OpenPOWER on IntegriCloud