commit | 0e995cd3d3c78377a0bc7d38236fc50e5438fabb | [log] [tgz] |
---|---|---|
author | Sonic Zhang <sonic.zhang@analog.com> | Mon May 10 05:39:14 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon May 17 17:21:01 2010 -0700 |
tree | 5525fe8194257fb9a2d47d7b8d3bf4b4e80131c6 | |
parent | 2bfa0f0c9a37460ee69128da411f6d310c1c983d [diff] |
netdev: bfin_mac: check for mii_bus platform data If the platform data for the mii_bus is missing, gracefully error out rather than deference NULL pointers. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>