diff options
author | Mike Isely <isely@pobox.com> | 2008-04-22 13:45:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:48 -0400 |
commit | 40381cb02fb7fc0b46c55e3a71325b5d930580fa (patch) | |
tree | a2654ff76b947f1aa3dcee9bc4ad77e7504d022b /drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |
parent | c55a97d7538d5f3abbee5486e37e56e896478fbd (diff) |
V4L/DVB (7313): pvrusb2: Make LED control into a device-specific attribute
The pvrusb2 driver has used hardcoded logic to control the LED on the
device. However this is really Hauppauge-specific behavior. This
change defines a new device attribute for LED control and sets things
up appropriately for Hauppauge devices.
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index af06e6c4b8d5..bc341ae5c79a 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |||
@@ -253,6 +253,9 @@ struct pvr2_hdw { | |||
253 | PVR2_STATE_xxxx */ | 253 | PVR2_STATE_xxxx */ |
254 | unsigned int master_state; | 254 | unsigned int master_state; |
255 | 255 | ||
256 | /* True if device led is currently on */ | ||
257 | int led_on; | ||
258 | |||
256 | /* True if states must be re-evaluated */ | 259 | /* True if states must be re-evaluated */ |
257 | int state_stale; | 260 | int state_stale; |
258 | 261 | ||