diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2019-02-05 00:41:46 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-02-07 15:22:32 -0800 |
commit | 2c0756d306c2d50c229f789e2ad28c7e1c1de420 (patch) | |
tree | e731eb9c9fc6d4dc39d3acf00588eb2574c35180 /arch/mips/cavium-octeon/executive/cvmx-helper.c | |
parent | 565485b8b5745946a303673873acd91de63b0657 (diff) | |
download | linux-2c0756d306c2d50c229f789e2ad28c7e1c1de420.tar.bz2 |
MIPS: OCTEON: warn if deprecated link status is being used
Warn if deprecated link status is being used.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/cavium-octeon/executive/cvmx-helper.c')
-rw-r--r-- | arch/mips/cavium-octeon/executive/cvmx-helper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper.c b/arch/mips/cavium-octeon/executive/cvmx-helper.c index 520c3bc66655..b695d134b60f 100644 --- a/arch/mips/cavium-octeon/executive/cvmx-helper.c +++ b/arch/mips/cavium-octeon/executive/cvmx-helper.c @@ -30,6 +30,7 @@ * Helper functions for common, but complicated tasks. * */ +#include <linux/bug.h> #include <asm/octeon/octeon.h> #include <asm/octeon/cvmx-config.h> @@ -1116,6 +1117,7 @@ cvmx_helper_link_info_t cvmx_helper_link_get(int ipd_port) if (index == 0) result = __cvmx_helper_rgmii_link_get(ipd_port); else { + WARN(1, "Using deprecated link status - please update your DT"); result.s.full_duplex = 1; result.s.link_up = 1; result.s.speed = 1000; |