diff options
Diffstat (limited to 'drivers/media/video/usbvideo/quickcam_messenger.h')
| -rw-r--r-- | drivers/media/video/usbvideo/quickcam_messenger.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/media/video/usbvideo/quickcam_messenger.h b/drivers/media/video/usbvideo/quickcam_messenger.h index baab9c081b52..17ace394d981 100644 --- a/drivers/media/video/usbvideo/quickcam_messenger.h +++ b/drivers/media/video/usbvideo/quickcam_messenger.h | |||
| @@ -35,27 +35,13 @@ struct rgb { | |||
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | struct bayL0 { | 37 | struct bayL0 { |
| 38 | #ifdef __BIG_ENDIAN | ||
| 39 | u8 r; | ||
| 40 | u8 g; | ||
| 41 | #elif __LITTLE_ENDIAN | ||
| 42 | u8 g; | 38 | u8 g; |
| 43 | u8 r; | 39 | u8 r; |
| 44 | #else | ||
| 45 | #error not byte order defined | ||
| 46 | #endif | ||
| 47 | }; | 40 | }; |
| 48 | 41 | ||
| 49 | struct bayL1 { | 42 | struct bayL1 { |
| 50 | #ifdef __BIG_ENDIAN | ||
| 51 | u8 g; | ||
| 52 | u8 b; | ||
| 53 | #elif __LITTLE_ENDIAN | ||
| 54 | u8 b; | 43 | u8 b; |
| 55 | u8 g; | 44 | u8 g; |
| 56 | #else | ||
| 57 | #error not byte order defined | ||
| 58 | #endif | ||
| 59 | }; | 45 | }; |
| 60 | 46 | ||
| 61 | struct cam_size { | 47 | struct cam_size { |
