Revert "net: bcmgenet: Remove init parameter from bcmgenet_mii_config"
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 31 Jul 2017 18:05:32 +0000 (11:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 01:03:36 +0000 (18:03 -0700)
commit00d51094b8a5856ae790048a332ae24f1dd7c994
treeee1c9ee0bb4e3b10271dfb6271f5eaffe57c7eb1
parent1daa8790d0280d2c719658e39bd59fce65efa909
Revert "net: bcmgenet: Remove init parameter from bcmgenet_mii_config"

This reverts commit 28b45910ccda ("net: bcmgenet: Remove init parameter
from bcmgenet_mii_config") because in the process of moving from
dev_info() to dev_info_once() we essentially lost the helpful printed
messages once the second instance of the driver is loaded.
dev_info_once() does not actually print the message once per device
instance, but once period.

Fixes: 28b45910ccda ("net: bcmgenet: Remove init parameter from bcmgenet_mii_config")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet.h
drivers/net/ethernet/broadcom/genet/bcmmii.c