summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/include/proto/bcmevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/brcm80211/include/proto/bcmevent.h')
-rw-r--r--drivers/staging/brcm80211/include/proto/bcmevent.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/brcm80211/include/proto/bcmevent.h b/drivers/staging/brcm80211/include/proto/bcmevent.h
index 5796f7563c68..2f0d471dede0 100644
--- a/drivers/staging/brcm80211/include/proto/bcmevent.h
+++ b/drivers/staging/brcm80211/include/proto/bcmevent.h
@@ -17,8 +17,6 @@
#ifndef _BCMEVENT_H_
#define _BCMEVENT_H_
-#include <packed_section_start.h>
-
#define BCM_EVENT_MSG_VERSION 1
#define BCM_MSG_IFNAME_MAX 16
@@ -26,7 +24,7 @@
#define WLC_EVENT_MSG_FLUSHTXQ 0x02
#define WLC_EVENT_MSG_GROUP 0x04
-typedef BWL_PRE_PACKED_STRUCT struct {
+typedef struct {
u16 version;
u16 flags;
u32 event_type;
@@ -36,14 +34,14 @@ typedef BWL_PRE_PACKED_STRUCT struct {
u32 datalen;
struct ether_addr addr;
char ifname[BCM_MSG_IFNAME_MAX];
-} BWL_POST_PACKED_STRUCT wl_event_msg_t;
+} __attribute__((packed)) wl_event_msg_t;
#ifdef BRCM_FULLMAC
-typedef BWL_PRE_PACKED_STRUCT struct bcm_event {
+typedef struct bcm_event {
struct ethhdr eth;
bcmeth_hdr_t bcm_hdr;
wl_event_msg_t event;
-} BWL_POST_PACKED_STRUCT bcm_event_t;
+} __attribute__((packed)) bcm_event_t;
#endif
#define BCM_MSG_LEN (sizeof(bcm_event_t) - sizeof(bcmeth_hdr_t) - \
sizeof(struct ether_header))
@@ -212,6 +210,4 @@ typedef struct wl_event_data_if {
#define WLC_E_LINK_ASSOC_REC 3
#define WLC_E_LINK_BSSCFG_DIS 4
-#include <packed_section_end.h>
-
#endif /* _BCMEVENT_H_ */