wifi: renew patch drivers/net/wireless
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rkwifi / bcmdhd / include / packed_section_end.h
1 /*
2  * Declare directives for structure packing. No padding will be provided
3  * between the members of packed structures, and therefore, there is no
4  * guarantee that structure members will be aligned.
5  *
6  * Declaring packed structures is compiler specific. In order to handle all
7  * cases, packed structures should be delared as:
8  *
9  * #include <packed_section_start.h>
10  *
11  * typedef BWL_PRE_PACKED_STRUCT struct foobar_t {
12  *    some_struct_members;
13  * } BWL_POST_PACKED_STRUCT foobar_t;
14  *
15  * #include <packed_section_end.h>
16  *
17  *
18  * $Copyright Open Broadcom Corporation$
19  * $Id: packed_section_end.h 241182 2011-02-17 21:50:03Z $
20  */
21
22
23
24 #ifdef BWL_PACKED_SECTION
25         #undef BWL_PACKED_SECTION
26 #else
27         #error "BWL_PACKED_SECTION is NOT defined!"
28 #endif
29
30
31
32
33
34 #undef  BWL_PRE_PACKED_STRUCT
35 #undef  BWL_POST_PACKED_STRUCT