aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/pwc/pwc.h')
-rw-r--r--drivers/media/video/pwc/pwc.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/media/video/pwc/pwc.h b/drivers/media/video/pwc/pwc.h
index 0b658dee05a4..0902355dfa77 100644
--- a/drivers/media/video/pwc/pwc.h
+++ b/drivers/media/video/pwc/pwc.h
@@ -135,12 +135,6 @@
135#define DEVICE_USE_CODEC3(x) ((x)>=700) 135#define DEVICE_USE_CODEC3(x) ((x)>=700)
136#define DEVICE_USE_CODEC23(x) ((x)>=675) 136#define DEVICE_USE_CODEC23(x) ((x)>=675)
137 137
138
139#ifndef V4L2_PIX_FMT_PWC1
140#define V4L2_PIX_FMT_PWC1 v4l2_fourcc('P','W','C','1')
141#define V4L2_PIX_FMT_PWC2 v4l2_fourcc('P','W','C','2')
142#endif
143
144/* The following structures were based on cpia.h. Why reinvent the wheel? :-) */ 138/* The following structures were based on cpia.h. Why reinvent the wheel? :-) */
145struct pwc_iso_buf 139struct pwc_iso_buf
146{ 140{
@@ -259,6 +253,7 @@ struct pwc_device
259 int snapshot_button_status; /* set to 1 when the user push the button, reset to 0 when this value is read */ 253 int snapshot_button_status; /* set to 1 when the user push the button, reset to 0 when this value is read */
260#ifdef CONFIG_USB_PWC_INPUT_EVDEV 254#ifdef CONFIG_USB_PWC_INPUT_EVDEV
261 struct input_dev *button_dev; /* webcam snapshot button input */ 255 struct input_dev *button_dev; /* webcam snapshot button input */
256 char button_phys[64];
262#endif 257#endif
263 258
264 /*** Misc. data ***/ 259 /*** Misc. data ***/