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:
Michael Chan
2009-08-21 16:20:49 +00:00
committed by David S. Miller
parent cf7474a6f4
commit 0ced9d01d1
2 changed files with 4 additions and 4 deletions

View File

@@ -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;