]> git.baikalelectronics.ru Git - kernel.git/commit
phy: marvell: Fix 88E1510 initialization
authorClemens Gruber <clemens.gruber@pqgruber.com>
Tue, 23 Feb 2016 19:16:58 +0000 (20:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Feb 2016 21:08:37 +0000 (16:08 -0500)
commite92686976d5d4186246cfc47ff8f80db20fc1783
tree5cf5cda167cf911ccaf28492b99370788db01aeb
parentb5077e567e4f86988b8d471e692deb4a09980e58
phy: marvell: Fix 88E1510 initialization

A bug was introduced in the merge commit 5bc04729f690 ("Merge
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net")
The generic marvell_config_init (and therefore marvell_of_reg_init) is
not called anymore for the Marvell 88E1510 (in net-next).

This patch calls marvell_config_init and moves the specific init
function for the 88E1510 below the marvell_config_init function to avoid
adding a function predeclaration.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c