aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r--drivers/media/video/em28xx/em28xx.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 0a73e8bf0d6e..441df644ddbe 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -110,6 +110,7 @@
110#define EM2820_BOARD_SILVERCREST_WEBCAM 71 110#define EM2820_BOARD_SILVERCREST_WEBCAM 71
111#define EM2861_BOARD_GADMEI_UTV330PLUS 72 111#define EM2861_BOARD_GADMEI_UTV330PLUS 72
112#define EM2870_BOARD_REDDO_DVB_C_USB_BOX 73 112#define EM2870_BOARD_REDDO_DVB_C_USB_BOX 73
113#define EM2800_BOARD_VC211A 74
113 114
114/* Limits minimum and default number of buffers */ 115/* Limits minimum and default number of buffers */
115#define EM28XX_MIN_BUF 4 116#define EM28XX_MIN_BUF 4
@@ -143,9 +144,6 @@
143 */ 144 */
144#define EM28XX_NUM_PACKETS 40 145#define EM28XX_NUM_PACKETS 40
145 146
146/* default alternate; 0 means choose the best */
147#define EM28XX_PINOUT 0
148
149#define EM28XX_INTERLACED_DEFAULT 1 147#define EM28XX_INTERLACED_DEFAULT 1
150 148
151/* 149/*
@@ -615,7 +613,6 @@ struct em28xx {
615 struct em28xx_dvb *dvb; 613 struct em28xx_dvb *dvb;
616 614
617 /* I2C keyboard data */ 615 /* I2C keyboard data */
618 struct i2c_board_info info;
619 struct IR_i2c_init_data init_data; 616 struct IR_i2c_init_data init_data;
620}; 617};
621 618
@@ -800,7 +797,7 @@ static inline unsigned int norm_maxw(struct em28xx *dev)
800 if (dev->board.is_webcam) 797 if (dev->board.is_webcam)
801 return dev->sensor_xres; 798 return dev->sensor_xres;
802 799
803 if (dev->board.max_range_640_480) 800 if (dev->board.max_range_640_480 || dev->board.is_em2800)
804 return 640; 801 return 640;
805 802
806 return 720; 803 return 720;