sfc: Const-qualify static data as appropriate, partly prompted by checkpatch
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 5 Jan 2012 19:05:20 +0000 (19:05 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 9 Jan 2012 17:08:13 +0000 (17:08 +0000)
commit18e83e4cd144e30fb38bf1f714914182c6c8bced
tree3b9d93550cecbd127d2c00e50c9c373df8675aa0
parent0beaca2ca0b3c12dabab046f1541b09179ec449c
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>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/falcon_boards.c
drivers/net/ethernet/sfc/mcdi.c
drivers/net/ethernet/sfc/mtd.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/selftest.c
drivers/net/ethernet/sfc/txc43128_phy.c