diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/test-drivers/vidtv/vidtv_psi.h | 8 | ||||
-rw-r--r-- | drivers/media/test-drivers/vidtv/vidtv_ts.h | 9 |
2 files changed, 0 insertions, 17 deletions
diff --git a/drivers/media/test-drivers/vidtv/vidtv_psi.h b/drivers/media/test-drivers/vidtv/vidtv_psi.h index def56bcb80c7..c9e059bfb6eb 100644 --- a/drivers/media/test-drivers/vidtv/vidtv_psi.h +++ b/drivers/media/test-drivers/vidtv/vidtv_psi.h @@ -99,17 +99,9 @@ struct vidtv_psi_table_header { __be16 bitfield; /* syntax: 1, zero: 1, one: 2, section_length: 13 */ __be16 id; /* TS ID */ -#if defined(__LITTLE_ENDIAN_BITFIELD) u8 current_next:1; u8 version:5; u8 one2:2; -#elif defined(__BIG_ENDIAN_BITFIELD) - u8 one2:2; - u8 version:5; - u8 current_next:1; -#else -#error "Unknown bitfield ordering" -#endif u8 section_id; /* section_number */ u8 last_section; /* last_section_number */ } __packed; diff --git a/drivers/media/test-drivers/vidtv/vidtv_ts.h b/drivers/media/test-drivers/vidtv/vidtv_ts.h index 7d46f48737b6..fab523723633 100644 --- a/drivers/media/test-drivers/vidtv/vidtv_ts.h +++ b/drivers/media/test-drivers/vidtv/vidtv_ts.h @@ -53,19 +53,10 @@ struct vidtv_mpeg_ts { u8 sync_byte; __be16 bitfield; /* tei: 1, payload_start:1 priority: 1, pid:13 */ struct { -#if defined(__LITTLE_ENDIAN_BITFIELD) u8 continuity_counter:4; u8 payload:1; u8 adaptation_field:1; u8 scrambling:2; -#elif defined(__BIG_ENDIAN_BITFIELD) - u8 scrambling:2; - u8 adaptation_field:1; - u8 payload:1; - u8 continuity_counter:4; -#else -#error "Unknown bitfield ordering" -#endif } __packed; struct vidtv_mpeg_ts_adaption adaption[]; } __packed; |