diff options
Diffstat (limited to 'drivers/media/video/au0828/au0828.h')
-rw-r--r-- | drivers/media/video/au0828/au0828.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/video/au0828/au0828.h b/drivers/media/video/au0828/au0828.h index 3dc09f8ffef7..94426770a6df 100644 --- a/drivers/media/video/au0828/au0828.h +++ b/drivers/media/video/au0828/au0828.h | |||
@@ -96,6 +96,9 @@ struct au0828_buff { | |||
96 | /* au0828-core.c */ | 96 | /* au0828-core.c */ |
97 | extern u32 au0828_read(struct au0828_dev *dev, u16 reg); | 97 | extern u32 au0828_read(struct au0828_dev *dev, u16 reg); |
98 | extern u32 au0828_write(struct au0828_dev *dev, u16 reg, u32 val); | 98 | extern u32 au0828_write(struct au0828_dev *dev, u16 reg, u32 val); |
99 | extern unsigned int debug; | ||
100 | extern unsigned int usb_debug; | ||
101 | extern unsigned int bridge_debug; | ||
99 | 102 | ||
100 | /* ----------------------------------------------------------- */ | 103 | /* ----------------------------------------------------------- */ |
101 | /* au0828-cards.c */ | 104 | /* au0828-cards.c */ |
@@ -112,8 +115,14 @@ extern int au0828_i2c_register(struct au0828_dev *dev); | |||
112 | extern int au0828_i2c_unregister(struct au0828_dev *dev); | 115 | extern int au0828_i2c_unregister(struct au0828_dev *dev); |
113 | extern void au0828_call_i2c_clients(struct au0828_dev *dev, | 116 | extern void au0828_call_i2c_clients(struct au0828_dev *dev, |
114 | unsigned int cmd, void *arg); | 117 | unsigned int cmd, void *arg); |
118 | extern unsigned int i2c_debug; | ||
115 | 119 | ||
116 | /* ----------------------------------------------------------- */ | 120 | /* ----------------------------------------------------------- */ |
117 | /* au0828-dvb.c */ | 121 | /* au0828-dvb.c */ |
118 | extern int au0828_dvb_register(struct au0828_dev *dev); | 122 | extern int au0828_dvb_register(struct au0828_dev *dev); |
119 | extern void au0828_dvb_unregister(struct au0828_dev *dev); | 123 | extern void au0828_dvb_unregister(struct au0828_dev *dev); |
124 | |||
125 | #define dprintk(level, fmt, arg...)\ | ||
126 | do { if (debug & level)\ | ||
127 | printk(KERN_DEBUG DRIVER_NAME "/0: " fmt, ## arg);\ | ||
128 | } while (0) | ||