diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-11-05 18:53:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-05 18:21:49 -0800 |
commit | f92186177620c9bcc4fc314d5c3ec79f32153348 (patch) | |
tree | 78e6c5879364b6d5b254aa4205a5d9f3c034425f /mm/khugepaged.c | |
parent | 5ea4b122e7ed9aa921fe019a7a0649ba67919ecf (diff) |
net: ethernet: emac: Fix phy mode type
Pass a phy_interface_t to of_get_phy_mode(), by changing the type of
phy_mode in the device structure. This then requires that
zmii_attach() is also changes, since it takes a pointer to phy_mode.
Fixes: 0c65b2b90d13 ("net: of_get_phy_mode: Change API to solve int/unit warnings")
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/khugepaged.c')
0 files changed, 0 insertions, 0 deletions