summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/txc43128_phy.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-01-05 23:05:20 +0400
committerBen Hutchings <bhutchings@solarflare.com>2012-01-09 21:08:13 +0400
commit18e83e4cd144e30fb38bf1f714914182c6c8bced (patch)
tree3b9d93550cecbd127d2c00e50c9c373df8675aa0 /drivers/net/ethernet/sfc/txc43128_phy.c
parent0beaca2ca0b3c12dabab046f1541b09179ec449c (diff)
downloadlinux-18e83e4cd144e30fb38bf1f714914182c6c8bced.tar.xz
sfc: Const-qualify static data as appropriate, partly prompted by checkpatch
Fix the following warnings: WARNING: struct dev_pm_ops should normally be const WARNING: static const char * array should probably be static const char * const Similarly const-qualify struct i2c_board_info, struct i2c_algo_bit_data, struct efx_ethtool_stat, struct efx_mtd_ops and struct siena_nvram_type_info. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/txc43128_phy.c')
-rw-r--r--drivers/net/ethernet/sfc/txc43128_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/txc43128_phy.c b/drivers/net/ethernet/sfc/txc43128_phy.c
index 7c21b334a75b..29bb3f9941c0 100644
--- a/drivers/net/ethernet/sfc/txc43128_phy.c
+++ b/drivers/net/ethernet/sfc/txc43128_phy.c
@@ -512,7 +512,7 @@ static bool txc43128_phy_poll(struct efx_nic *efx)
return efx->link_state.up != was_up;
}
-static const char *txc43128_test_names[] = {
+static const char *const txc43128_test_names[] = {
"bist"
};