net: phylink: make phylink_parse_mode() support non-DT platform
authorOng Boon Leong <boon.leong.ong@intel.com>
Mon, 15 Mar 2021 05:27:08 +0000 (13:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2021 19:53:12 +0000 (12:53 -0700)
commitab39385021d1e0b4cd6cc521dc35c2fe659bbddf
treed07baa62dab9645c39f7ab6cabdf4ea9685152d8
parentb97b5331b8ab7f60fb880e0c31c9b09b73d2fa4e
net: phylink: make phylink_parse_mode() support non-DT platform

Certain platform does not support DT, so we make phylink_parse_mode() to
allow non-DT platform to use it to setup in-band AN advertising.

Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h