commit | b27393aecf66199f5ddad37c302d3e0cfadbe6c0 | [log] [tgz] |
---|---|---|
author | Bin Liu <b-liu@ti.com> | Thu Aug 30 06:37:32 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 31 16:35:07 2012 -0400 |
tree | 4c49812f7e3700ab1faa8ee706c22c2c80342b74 | |
parent | 599901c3e4204e9d9c5a24df5402cd91617a2a26 [diff] |
net: ethernet: fix kernel OOPS when remove davinci_mdio module davinci mdio device is not unregistered from mdiobus when removing the module, which causes BUG_ON() when free the device from mdiobus. Calling mdiobus_unregister() before mdiobus_free() fixes the issue. Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>