aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-23 09:55:10 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-21 10:45:07 -0500
commit70fa444d81b4fea992c2899467d5c4939a35100c (patch)
tree46521c271baaaa4d34d95098298a088733a47c65 /drivers
parent93b32126f94333afd012daf5b48b594b86ae8128 (diff)
[media] az6007: Get rid of az6007.h
The header file serves for no purpose and exports some things that should be static. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/az6007.c11
-rw-r--r--drivers/media/dvb/dvb-usb/az6007.h18
2 files changed, 9 insertions, 20 deletions
diff --git a/drivers/media/dvb/dvb-usb/az6007.c b/drivers/media/dvb/dvb-usb/az6007.c
index a709cec16b00..1791cb088629 100644
--- a/drivers/media/dvb/dvb-usb/az6007.c
+++ b/drivers/media/dvb/dvb-usb/az6007.c
@@ -3,13 +3,15 @@
3 * see Documentation/dvb/README.dvb-usb for more information 3 * see Documentation/dvb/README.dvb-usb for more information
4 */ 4 */
5 5
6#include "az6007.h"
7#include "drxk.h" 6#include "drxk.h"
8#include "mt2063.h" 7#include "mt2063.h"
9#include "dvb_ca_en50221.h" 8#include "dvb_ca_en50221.h"
9#include "dvb-usb.h"
10
11#define DVB_USB_LOG_PREFIX "az6007"
10 12
11/* HACK: Should be moved to the right place */ 13/* HACK: Should be moved to the right place */
12#define USB_PID_AZUREWAVE_6007 0xccd 14#define USB_PID_AZUREWAVE_6007 0x0ccd
13#define USB_PID_TERRATEC_H7 0x10b4 15#define USB_PID_TERRATEC_H7 0x10b4
14 16
15/* debug */ 17/* debug */
@@ -18,6 +20,11 @@ module_param_named(debug, dvb_usb_az6007_debug, int, 0644);
18MODULE_PARM_DESC(debug, "set debugging level (1=info,xfer=2,rc=4 (or-able))." 20MODULE_PARM_DESC(debug, "set debugging level (1=info,xfer=2,rc=4 (or-able))."
19 DVB_USB_DEBUG_STATUS); 21 DVB_USB_DEBUG_STATUS);
20 22
23#define deb_info(args...) dprintk(dvb_usb_az6007_debug, 0x01, args)
24#define deb_xfer(args...) dprintk(dvb_usb_az6007_debug, 0x02, args)
25#define deb_rc(args...) dprintk(dvb_usb_az6007_debug, 0x04, args)
26#define deb_fe(args...) dprintk(dvb_usb_az6007_debug, 0x08, args)
27
21DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); 28DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
22 29
23struct az6007_device_state { 30struct az6007_device_state {
diff --git a/drivers/media/dvb/dvb-usb/az6007.h b/drivers/media/dvb/dvb-usb/az6007.h
deleted file mode 100644
index aefa5b506ee6..000000000000
--- a/drivers/media/dvb/dvb-usb/az6007.h
+++ /dev/null
@@ -1,18 +0,0 @@
1#ifndef _DVB_USB_AZ6007_H_
2#define _DVB_USB_AZ6007_H_
3
4#define DVB_USB_LOG_PREFIX "az6007"
5#include "dvb-usb.h"
6
7
8extern int dvb_usb_az6007_debug;
9#define deb_info(args...) dprintk(dvb_usb_az6007_debug,0x01,args)
10#define deb_xfer(args...) dprintk(dvb_usb_az6007_debug,0x02,args)
11#define deb_rc(args...) dprintk(dvb_usb_az6007_debug,0x04,args)
12#define deb_fe(args...) dprintk(dvb_usb_az6007_debug,0x08,args)
13
14
15extern int vp702x_usb_out_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec);
16extern int vp702x_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen);
17
18#endif