mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
1433c59bcc
Obviously the phy api should be used to interface with the phy. In rate.h a table within phy was accessed directly by declaring the table extern in rate.h itself. This patch fixes this using the provided api function to obtain the table reference. This bypass was found by a sparse warning on the table not being defined static. Reviewed-by: Alwin Beukers <alwin@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
phy_cmn.c | ||
phy_hal.h | ||
phy_int.h | ||
phy_lcn.c | ||
phy_lcn.h | ||
phy_n.c | ||
phy_qmath.c | ||
phy_qmath.h | ||
phy_radio.h | ||
phyreg_n.h | ||
phytbl_lcn.c | ||
phytbl_lcn.h | ||
phytbl_n.c | ||
phytbl_n.h |