patch-2.4.13 linux/drivers/usb/pwc-ioctl.h
Next file: linux/drivers/usb/pwc.h
Previous file: linux/drivers/usb/pwc-if.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Wed Oct 17 14:34:06 2001
- Orig file:
v2.4.12/linux/drivers/usb/pwc-ioctl.h
- Orig date:
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.12/linux/drivers/usb/pwc-ioctl.h linux/drivers/usb/pwc-ioctl.h
@@ -76,6 +76,15 @@
};
+/* Used with VIDIOCPWC[SG]LED */
+struct pwc_leds
+{
+ int led_on; /* Led on-time; range = 0..255 */
+ int led_off; /* */
+};
+
+
+
/* Restore user settings */
#define VIDIOCPWCRUSER _IO('v', 192)
/* Save user settings */
@@ -107,9 +116,8 @@
#define VIDIOCPWCGAWB _IOR('v', 202, struct pwc_whitebalance)
/* Turn LED on/off ; int range 0..65535 */
-#define VIDIOCPWCSLED _IOW('v', 205, int)
-
+#define VIDIOCPWCSLED _IOW('v', 205, struct pwc_leds)
/* Get state of LED; int range 0..65535 */
-#define VIDIOCPWCGLED _IOR('v', 205, int)
+#define VIDIOCPWCGLED _IOR('v', 205, struct pwc_leds)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)