diff options
Diffstat (limited to 'drivers/media/video/cx25840/cx25840.h')
-rw-r--r-- | drivers/media/video/cx25840/cx25840.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/video/cx25840/cx25840.h b/drivers/media/video/cx25840/cx25840.h index dc58d4292a34..4260c3faa37a 100644 --- a/drivers/media/video/cx25840/cx25840.h +++ b/drivers/media/video/cx25840/cx25840.h | |||
@@ -20,25 +20,9 @@ | |||
20 | #ifndef _CX25840_H_ | 20 | #ifndef _CX25840_H_ |
21 | #define _CX25840_H_ | 21 | #define _CX25840_H_ |
22 | 22 | ||
23 | |||
24 | #include <linux/videodev2.h> | 23 | #include <linux/videodev2.h> |
25 | #include <linux/i2c.h> | 24 | #include <linux/i2c.h> |
26 | 25 | ||
27 | extern int cx25840_debug; | ||
28 | |||
29 | #define cx25840_dbg(fmt, arg...) do { if (cx25840_debug) \ | ||
30 | printk(KERN_INFO "%s debug %d-%04x: " fmt, \ | ||
31 | client->driver->driver.name, \ | ||
32 | i2c_adapter_id(client->adapter), client->addr , ## arg); } while (0) | ||
33 | |||
34 | #define cx25840_err(fmt, arg...) do { \ | ||
35 | printk(KERN_ERR "%s %d-%04x: " fmt, client->driver->driver.name, \ | ||
36 | i2c_adapter_id(client->adapter), client->addr , ## arg); } while (0) | ||
37 | |||
38 | #define cx25840_info(fmt, arg...) do { \ | ||
39 | printk(KERN_INFO "%s %d-%04x: " fmt, client->driver->driver.name, \ | ||
40 | i2c_adapter_id(client->adapter), client->addr , ## arg); } while (0) | ||
41 | |||
42 | /* ENABLE_PVR150_WORKAROUND activates a workaround for a hardware bug that is | 26 | /* ENABLE_PVR150_WORKAROUND activates a workaround for a hardware bug that is |
43 | present in Hauppauge PVR-150 (and possibly PVR-500) cards that have | 27 | present in Hauppauge PVR-150 (and possibly PVR-500) cards that have |
44 | certain NTSC tuners (tveeprom tuner model numbers 85, 99 and 112). The | 28 | certain NTSC tuners (tveeprom tuner model numbers 85, 99 and 112). The |