be2net: move be_func_init() call inside be_setup()
authorSathya Perla <sathya.perla@emulex.com>
Mon, 23 Feb 2015 09:20:16 +0000 (04:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2015 20:08:32 +0000 (15:08 -0500)
commitf962f840f81f5b9f2df136dd44872f18a82def38
tree6de637053be24bc6ab5d07bb0793a28c42b31435
parent87ac1a5296291d557080fb544f445be3bce6c51f
be2net: move be_func_init() call inside be_setup()

Every time be_setup() is called, the driver will have to wait for the
function/FW to be properly initialized. So, it make sense to move this call
inside be_setup().

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c