diff options
author | Mike Isely <isely@pobox.com> | 2008-04-22 13:45:41 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:47 -0400 |
commit | c55a97d7538d5f3abbee5486e37e56e896478fbd (patch) | |
tree | f5eb276e4488cc0104646bf02f279140dad06b9f /drivers/media/video/pvrusb2/pvrusb2-hdw.h | |
parent | 1b9c18c54d68cc22f090948fc47890c56d22153d (diff) |
V4L/DVB (7312): pvrusb2: Indicate streaming status via LED
Most of this originates from Michael Krufky <mkrufky@linuxtv.org>;
these changes move LED control into separate functions. This is the
first step in new work to make LED control a device-specific attribute.
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.h')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/drivers/media/video/pvrusb2/pvrusb2-hdw.h index 57e1ff491497..4fc9db3efff2 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.h | |||
@@ -258,6 +258,9 @@ int pvr2_hdw_cmd_powerup(struct pvr2_hdw *); | |||
258 | /* suspend */ | 258 | /* suspend */ |
259 | int pvr2_hdw_cmd_powerdown(struct pvr2_hdw *); | 259 | int pvr2_hdw_cmd_powerdown(struct pvr2_hdw *); |
260 | 260 | ||
261 | /* toggle LED */ | ||
262 | int pvr2_led_ctrl(struct pvr2_hdw *hdw, int onoff); | ||
263 | |||
261 | /* Order decoder to reset */ | 264 | /* Order decoder to reset */ |
262 | int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *); | 265 | int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *); |
263 | 266 | ||