net: Kirkwood_egiga.c: fixed build warnings
authorPrafulla Wadaskar <prafulla@marvell.com>
Wed, 3 Mar 2010 09:57:21 +0000 (15:27 +0530)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 3 May 2010 21:52:47 +0000 (14:52 -0700)
commite3f2a93362c823fc1feb5e8a40ff3c120716a05b
treee239a4bd7d0ffe9202392c5219645f0b8d918ca9
parent4185ae7a7146a77a792e5ba49845e5ca6e95b038
net: Kirkwood_egiga.c: fixed build warnings

This patch fixes following build warnings for kirkwood_egiga.c

kirkwood_egiga.c: In function "kwgbe_init":
kirkwood_egiga.c:448: warning: dereferencing type-punned pointer will break strict-aliasing rules
kirkwood_egiga.c: In function "kwgbe_recv":
kirkwood_egiga.c:609: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/kirkwood_egiga.c
drivers/net/kirkwood_egiga.h