MFC: r282897

sfxge: add missing const qualifier to sfxge_link_mode

Sponsored by:   Solarflare Communications, Inc.
This commit is contained in:
Andrew Rybchenko 2015-05-21 08:55:06 +00:00
parent 0991b150c8
commit 8c90b9ff10
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=283202

View File

@ -624,7 +624,7 @@ fail:
return (rc);
}
static int sfxge_link_mode[EFX_PHY_MEDIA_NTYPES][EFX_LINK_NMODES] = {
static const int sfxge_link_mode[EFX_PHY_MEDIA_NTYPES][EFX_LINK_NMODES] = {
[EFX_PHY_MEDIA_CX4] = {
[EFX_LINK_10000FDX] = IFM_ETHER | IFM_FDX | IFM_10G_CX4,
},