commit | ed1dd81464f53314b5d93924adb84de9cd5838a5 | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Sat Jun 30 15:16:07 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jul 10 12:16:48 2012 -0400 |
tree | bb133c68b5a16f4def22f8c2f8e7bfee7a62130b | |
parent | 72d4d66205a7e033fa56755ff3f81ab17d952df9 [diff] |
brcmsmac: use container_of instead of cast Now "struct si_pub pub" does not have to be the first member in struct si_info any more, if it is the resulting code after compilation should be the same. Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>