aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-09-06 09:52:30 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:37:00 -0400
commitffb412346bcebf143d0f43ab4c6a61c4270a9266 (patch)
tree1b575ecc8189ea0c1c09887cf7e2874290780735 /drivers
parent942648af36e4d4b91e52b3e1a87d4cafd6f7aa46 (diff)
V4L/DVB (8948): xc5000: kill xc5000_priv.h
move struct xc5000_priv into xc5000.c and delete xc5000_priv.h Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/common/tuners/xc5000.c13
-rw-r--r--drivers/media/common/tuners/xc5000_priv.h37
2 files changed, 12 insertions, 38 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c
index dcddfa803a75..50d42c8db4ea 100644
--- a/drivers/media/common/tuners/xc5000.c
+++ b/drivers/media/common/tuners/xc5000.c
@@ -30,7 +30,6 @@
30#include "dvb_frontend.h" 30#include "dvb_frontend.h"
31 31
32#include "xc5000.h" 32#include "xc5000.h"
33#include "xc5000_priv.h"
34 33
35static int debug; 34static int debug;
36module_param(debug, int, 0644); 35module_param(debug, int, 0644);
@@ -46,6 +45,18 @@ MODULE_PARM_DESC(init_fw, "Load firmware during driver initialization.");
46#define XC5000_DEFAULT_FIRMWARE "dvb-fe-xc5000-1.1.fw" 45#define XC5000_DEFAULT_FIRMWARE "dvb-fe-xc5000-1.1.fw"
47#define XC5000_DEFAULT_FIRMWARE_SIZE 12332 46#define XC5000_DEFAULT_FIRMWARE_SIZE 12332
48 47
48struct xc5000_priv {
49 struct xc5000_config *cfg;
50 struct i2c_adapter *i2c;
51
52 u32 freq_hz;
53 u32 bandwidth;
54 u8 video_standard;
55 u8 rf_mode;
56
57 void *devptr;
58};
59
49/* Misc Defines */ 60/* Misc Defines */
50#define MAX_TV_STANDARD 23 61#define MAX_TV_STANDARD 23
51#define XC_MAX_I2C_WRITE_LENGTH 64 62#define XC_MAX_I2C_WRITE_LENGTH 64
diff --git a/drivers/media/common/tuners/xc5000_priv.h b/drivers/media/common/tuners/xc5000_priv.h
deleted file mode 100644
index b2a0074c99c9..000000000000
--- a/drivers/media/common/tuners/xc5000_priv.h
+++ /dev/null
@@ -1,37 +0,0 @@
1/*
2 * Driver for Xceive XC5000 "QAM/8VSB single chip tuner"
3 *
4 * Copyright (c) 2007 Steven Toth <stoth@linuxtv.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 *
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21
22#ifndef XC5000_PRIV_H
23#define XC5000_PRIV_H
24
25struct xc5000_priv {
26 struct xc5000_config *cfg;
27 struct i2c_adapter *i2c;
28
29 u32 freq_hz;
30 u32 bandwidth;
31 u8 video_standard;
32 u8 rf_mode;
33
34 void *devptr;
35};
36
37#endif