]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: sfp: make the i2c-bus dt property mandatory
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 22 May 2018 10:18:00 +0000 (12:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 18:34:27 +0000 (14:34 -0400)
commit0882985b80247caa28780f9d134f2f7e5bd273d6
tree66b10a401d0d7129812c338b853fccc8c3f9e5a8
parent2eeb3616c8436170ece8bbb31d0492764fc4d608
net: phy: sfp: make the i2c-bus dt property mandatory

This patch makes the i2c-bus property mandatory when using a device
tree. If the sfp i2c bus isn't described it's impossible to guess the
protocol to use for a given module, and the sfp module would then not
work in most cases.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c