macb: fix compile warning
authorandreas.devel@googlemail.com <andreas.devel@googlemail.com>
Thu, 9 Jun 2011 02:08:46 +0000 (02:08 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 21 Jun 2011 20:26:22 +0000 (22:26 +0200)
commit6c169c12d7782335be2f1d303622bcd0e1d00a02
treef6e598c5c80804042d023c56dcdf37ead31e5f4f
parent2321bfe425385494da8739d7d7e9dd3a5ca18a84
macb: fix compile warning

This patch fixes following compile warning:

---8<---
macb.c: In function 'macb_write_hwaddr':
macb.c:525:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
--->8---

Signed-off-by: Andreas Bießmann <andreas.devel@gmail.com>
drivers/net/macb.c