Commit 0ae842ea authored by Jeff Garzik's avatar Jeff Garzik

Merge branch 'ucc_geth' of...

Merge branch 'ucc_geth' of master.kernel.org:/pub/scm/linux/kernel/git/leo/fsl-soc into upstream-fixes
parents 8eb7ad68 7c5b0162
...@@ -379,7 +379,6 @@ static const struct ethtool_ops uec_ethtool_ops = { ...@@ -379,7 +379,6 @@ static const struct ethtool_ops uec_ethtool_ops = {
.get_stats_count = uec_get_stats_count, .get_stats_count = uec_get_stats_count,
.get_strings = uec_get_strings, .get_strings = uec_get_strings,
.get_ethtool_stats = uec_get_ethtool_stats, .get_ethtool_stats = uec_get_ethtool_stats,
.get_perm_addr = ethtool_op_get_perm_addr,
}; };
void uec_set_ethtool_ops(struct net_device *netdev) void uec_set_ethtool_ops(struct net_device *netdev)
......
...@@ -272,7 +272,8 @@ int __init uec_mdio_init(void) ...@@ -272,7 +272,8 @@ int __init uec_mdio_init(void)
return of_register_platform_driver(&uec_mdio_driver); return of_register_platform_driver(&uec_mdio_driver);
} }
void __exit uec_mdio_exit(void) /* called from __init ucc_geth_init, therefore can not be __exit */
void uec_mdio_exit(void)
{ {
of_unregister_platform_driver(&uec_mdio_driver); of_unregister_platform_driver(&uec_mdio_driver);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment