Merge branch 'next' into for-linus-3.0
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / media / radio / radio-gemtek.c
CommitLineData
1da177e4
LT
1/* GemTek radio card driver for Linux (C) 1998 Jonas Munsin <jmunsin@iki.fi>
2 *
3 * GemTek hasn't released any specs on the card, so the protocol had to
4 * be reverse engineered with dosemu.
5 *
6 * Besides the protocol changes, this is mostly a copy of:
7 *
8 * RadioTrack II driver for Linux radio support (C) 1998 Ben Pfaff
4286c6f6 9 *
1da177e4 10 * Based on RadioTrack I/RadioReveal (C) 1997 M. Kirkwood
d9b01449 11 * Converted to new API by Alan Cox <alan@lxorguk.ukuu.org.uk>
1da177e4
LT
12 * Various bugfixes and enhancements by Russell Kroll <rkroll@exploits.org>
13 *
14 * TODO: Allow for more than one of these foolish entities :-)
15 *
d1c4ecde 16 * Converted to V4L2 API by Mauro Carvalho Chehab <mchehab@infradead.org>
1da177e4
LT
17 */
18
19#include <linux/module.h> /* Modules */
20#include <linux/init.h> /* Initdata */
fb911ee8 21#include <linux/ioport.h> /* request_region */
1da177e4 22#include <linux/delay.h> /* udelay */
d1c4ecde 23#include <linux/videodev2.h> /* kernel radio structs */
502b71b5
HV
24#include <linux/version.h> /* for KERNEL_VERSION MACRO */
25#include <linux/mutex.h>
26#include <linux/io.h> /* outb, outb_p */
35ea11ff 27#include <media/v4l2-ioctl.h>
502b71b5 28#include <media/v4l2-device.h>
1da177e4 29
502b71b5 30#define RADIO_VERSION KERNEL_VERSION(0, 0, 3)
d1c4ecde 31
4753647e
PS
32/*
33 * Module info.
34 */
35
36