summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-12-31 12:14:20 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-06 13:45:03 +0100
commit1516524ff299d803ff530495fd66b514ec962f75 (patch)
treedd44cac3b3e21200807e4273f480c7c67a6eecf4 /drivers/media/video/pwc/pwc.h
parent[media] pwc: Read new preset values when changing awb control to a preset (diff)
downloadlinux-1516524ff299d803ff530495fd66b514ec962f75.tar.xz
linux-1516524ff299d803ff530495fd66b514ec962f75.zip
[media] pwc: Remove driver specific sysfs interface
Setting pan/tilt should be done with v4l2 controls, like with other cams. The button is available as a standard input device Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc.h')
-rw-r--r--drivers/media/video/pwc/pwc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/video/pwc/pwc.h b/drivers/media/video/pwc/pwc.h
index c2594f4247aa..e3adec857fcf 100644
--- a/drivers/media/video/pwc/pwc.h
+++ b/drivers/media/video/pwc/pwc.h
@@ -275,11 +275,6 @@ struct pwc_device
int pan_angle; /* in degrees * 100 */
int tilt_angle; /* absolute angle; 0,0 is home */
- /*
- * Set to 1 when the user push the button, reset to 0
- * when this value is read from sysfs.
- */
- int snapshot_button_status;
#ifdef CONFIG_USB_PWC_INPUT_EVDEV
struct input_dev *button_dev; /* webcam snapshot button input */
char button_phys[64];