diff options
author | Jaime Velasco Juan <jsagarribay@gmail.com> | 2008-01-27 12:24:59 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-02-18 11:14:58 -0300 |
commit | 1fdd61c0228a32b9a5e10593b225851d8920595b (patch) | |
tree | 61a2134e8a05f10fe51b0904d361a4b1eafc6e37 /drivers/media/video/stk-webcam.h | |
parent | 1112fb68ae9c838294d38e1f209fedbc0dbf11d5 (diff) |
V4L/DVB (7089): V4L: stkwebcam: Power management support
Signed-off-by: Jaime Velasco Juan <jsagarribay@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/stk-webcam.h')
-rw-r--r-- | drivers/media/video/stk-webcam.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/stk-webcam.h b/drivers/media/video/stk-webcam.h index 7e989d1ac1e..a2164cb1ad2 100644 --- a/drivers/media/video/stk-webcam.h +++ b/drivers/media/video/stk-webcam.h @@ -79,6 +79,7 @@ enum stk_status { #define unset_present(dev) ((dev)->status &= \ ~(S_PRESENT|S_INITIALISED|S_STREAMING)) #define set_initialised(dev) ((dev)->status |= S_INITIALISED) +#define unset_initialised(dev) ((dev)->status &= ~S_INITIALISED) #define set_memallocd(dev) ((dev)->status |= S_MEMALLOCD) #define unset_memallocd(dev) ((dev)->status &= ~S_MEMALLOCD) #define set_streaming(dev) ((dev)->status |= S_STREAMING) |