diff options
author | Luciano Coelho <coelho@ti.com> | 2012-06-07 23:39:26 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-08 09:14:08 +0300 |
commit | 34bacf73c62cd71542ee12eba5896e1f360faa9b (patch) | |
tree | 6f2f5ee58d09882e1310e79c3d18232bd7dea4fa /drivers/net/wireless/ti/wl18xx | |
parent | b551a3c9eb625326b11154a604fce2108f70fb96 (diff) | |
download | linux-34bacf73c62cd71542ee12eba5896e1f360faa9b.tar.gz |
wlcore/wl18xx: the conf structs must be packed so they can be exported
Since we are now going to export the conf structure and read it from a
file, it should be packed to avoid surprises with padding bytes.
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/conf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/conf.h b/drivers/net/wireless/ti/wl18xx/conf.h index 4e0f189b2539..b75a6d359712 100644 --- a/drivers/net/wireless/ti/wl18xx/conf.h +++ b/drivers/net/wireless/ti/wl18xx/conf.h @@ -48,10 +48,10 @@ struct wl18xx_conf_phy { s8 low_power_val; s8 med_power_val; s8 high_power_val; -}; +} __packed; struct wl18xx_priv_conf { struct wl18xx_conf_phy phy; -}; +} __packed; #endif /* __WL18XX_CONF_H__ */ |