Skip to content
Commit 7c0c8268 authored by Bert Vermeulen's avatar Bert Vermeulen Committed by David S. Miller
Browse files

net: mdio-gpio: Allow for unspecified bus id



When the bus id was supplied via a struct platform_device, the driver wasn't
handling -1 to mean an unspecified id of the only instance of this driver,
as the platform spec requires.

Signed-off-by: default avatarBert Vermeulen <bert@biot.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fbf33a28
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment