]> 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)
commitb889f656f9b89b57a0a9b5ff5dbce5e2fe0dd8b3
tree66b10a401d0d7129812c338b853fccc8c3f9e5a8
parent3ff9c3a37f49cb92db752bfe2a78e1ccc629167d
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