WAVELAN - compile-time check for struct sizes
authorHelge Deller <deller@gmx.de>
Sun, 13 Jan 2008 14:16:34 +0000 (15:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:50 +0000 (15:09 -0800)
commit60da481b98082ff5ffd233b18683c3ffe3ab618c
tree3660cdeef28b88f3fc6997b299ac5a3158654b20
parenteb189d8bc9824bcb2187ffdab27d77ab469264c3
WAVELAN - compile-time check for struct sizes

Convert optional struct size checks to non-optional compile-time checks.
Furthermore BUILD_BUG_ON() which will be optimized away by the compiler.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wavelan.c
drivers/net/wireless/wavelan.p.h
drivers/net/wireless/wavelan_cs.c
drivers/net/wireless/wavelan_cs.p.h