bnx2: Use const on flash_table structure.
The structure, once initialized, never changes. Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
cf7474a6f4
commit
0ced9d01d1
@@ -6889,7 +6889,7 @@ struct bnx2 {
|
||||
int pm_cap;
|
||||
int pcix_cap;
|
||||
|
||||
struct flash_spec *flash_info;
|
||||
const struct flash_spec *flash_info;
|
||||
u32 flash_size;
|
||||
|
||||
int status_stats_size;
|
||||
|
Reference in New Issue
Block a user