diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 12:35:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 12:35:11 -0400 |
commit | 0851668fdd97e526b2a41f794b785c204dd3d3e0 (patch) | |
tree | 4ef7c20a8be8393006c6fe9627eb29dd30877d61 /drivers/media/video/bt8xx/bttvp.h | |
parent | 00ebb6382b8d9c7c15b5f8ad230670d8161d38dd (diff) | |
parent | 7655e594945289b418af39f6669fea4666a7b520 (diff) |
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (505 commits)
[media] af9015: Fix max I2C message size when used with tda18271
[media] IR: initialize ir_raw_event in few more drivers
[media] Guard a divide in v4l1 compat layer
[media] imon: fix nomouse modprobe option
[media] imon: remove redundant change_protocol call
[media] imon: fix my egregious brown paper bag w/rdev/idev split
[media] cafe_ccic: Configure ov7670 correctly
[media] ov7670: allow configuration of image size, clock speed, and I/O method
[media] af9015: support for DigitalNow TinyTwin v3 [1f4d:9016]
[media] af9015: map DigitalNow TinyTwin v2 remote
[media] DigitalNow TinyTwin remote controller
[media] af9015: RC fixes and improvements
videodev2.h.xml: Update to reflect the latest changes at videodev2.h
[media] v4l: document new Bayer and monochrome pixel formats
[media] DocBook/v4l: Add missing formats used on gspca cpia1 and sn9c2028
[media] firedtv: add parameter to fake ca_system_ids in CA_INFO
[media] tm6000: fix a macro coding style issue
tm6000: Remove some ugly debug code
[media] Nova-S-Plus audio line input
[media] [RFC,1/1] V4L2: Use new CAP bits in existing RDS capable drivers
...
Diffstat (limited to 'drivers/media/video/bt8xx/bttvp.h')
-rw-r--r-- | drivers/media/video/bt8xx/bttvp.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/drivers/media/video/bt8xx/bttvp.h b/drivers/media/video/bt8xx/bttvp.h index 6cccc2a17eee..d1e26a448ed2 100644 --- a/drivers/media/video/bt8xx/bttvp.h +++ b/drivers/media/video/bt8xx/bttvp.h | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <media/videobuf-dma-sg.h> | 42 | #include <media/videobuf-dma-sg.h> |
43 | #include <media/tveeprom.h> | 43 | #include <media/tveeprom.h> |
44 | #include <media/ir-common.h> | 44 | #include <media/ir-common.h> |
45 | 45 | #include <media/ir-kbd-i2c.h> | |
46 | 46 | ||
47 | #include "bt848.h" | 47 | #include "bt848.h" |
48 | #include "bttv.h" | 48 | #include "bttv.h" |
@@ -271,6 +271,12 @@ int bttv_sub_del_devices(struct bttv_core *core); | |||
271 | extern int no_overlay; | 271 | extern int no_overlay; |
272 | 272 | ||
273 | /* ---------------------------------------------------------- */ | 273 | /* ---------------------------------------------------------- */ |
274 | /* bttv-input.c */ | ||
275 | |||
276 | extern void init_bttv_i2c_ir(struct bttv *btv); | ||
277 | extern int fini_bttv_i2c(struct bttv *btv); | ||
278 | |||
279 | /* ---------------------------------------------------------- */ | ||
274 | /* bttv-driver.c */ | 280 | /* bttv-driver.c */ |
275 | 281 | ||
276 | /* insmod options */ | 282 | /* insmod options */ |
@@ -279,8 +285,6 @@ extern unsigned int bttv_debug; | |||
279 | extern unsigned int bttv_gpio; | 285 | extern unsigned int bttv_gpio; |
280 | extern void bttv_gpio_tracking(struct bttv *btv, char *comment); | 286 | extern void bttv_gpio_tracking(struct bttv *btv, char *comment); |
281 | extern int init_bttv_i2c(struct bttv *btv); | 287 | extern int init_bttv_i2c(struct bttv *btv); |
282 | extern void init_bttv_i2c_ir(struct bttv *btv); | ||
283 | extern int fini_bttv_i2c(struct bttv *btv); | ||
284 | 288 | ||
285 | #define bttv_printk if (bttv_verbose) printk | 289 | #define bttv_printk if (bttv_verbose) printk |
286 | #define dprintk if (bttv_debug >= 1) printk | 290 | #define dprintk if (bttv_debug >= 1) printk |
@@ -366,6 +370,9 @@ struct bttv { | |||
366 | int has_remote; | 370 | int has_remote; |
367 | struct card_ir *remote; | 371 | struct card_ir *remote; |
368 | 372 | ||
373 | /* I2C remote data */ | ||
374 | struct IR_i2c_init_data init_data; | ||
375 | |||
369 | /* locking */ | 376 | /* locking */ |
370 | spinlock_t s_lock; | 377 | spinlock_t s_lock; |
371 | struct mutex lock; | 378 | struct mutex lock; |