net: macb: allow deffered probe of the driver
authorNicolae Rosia <nicolae.rosia@certsign.ro>
Thu, 22 Jan 2015 17:31:05 +0000 (17:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2015 01:08:33 +0000 (17:08 -0800)
commit9e86d7667c507c0d6d20a15ebab0340b07389be4
tree2bcf1a98b9027847c2d6e236325925a46eea85d2
parent08bfc9cb76e26d2489c401fb1d2de58d06fd1ded
net: macb: allow deffered probe of the driver

The driver is trying to acquire clocks which maybe
are not available yet. Allow the driver to request
deffered probe by providing a probe function and
registering it with module_platform_driver. [1]
This patch is based on 3.19-rc5.

[1] https://lkml.org/lkml/2013/9/23/118

Signed-off-by: Nicolae Rosia <nicolae.rosia@certsign.ro>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c