diff options
author | Michael Chan <mchan@broadcom.com> | 2009-08-21 12:20:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-22 20:48:54 -0400 |
commit | 0ced9d01d19795f913b95cebedd7d03986671379 (patch) | |
tree | 712f614dbfdcc8d8641da18d925b1e757fff342e /drivers/net/bnx2.h | |
parent | cf7474a6f4eda22603591b7d6253dffc224e4784 (diff) |
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>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index 3c004b44cf7e..7544188b6541 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -6889,7 +6889,7 @@ struct bnx2 { | |||
6889 | int pm_cap; | 6889 | int pm_cap; |
6890 | int pcix_cap; | 6890 | int pcix_cap; |
6891 | 6891 | ||
6892 | struct flash_spec *flash_info; | 6892 | const struct flash_spec *flash_info; |
6893 | u32 flash_size; | 6893 | u32 flash_size; |
6894 | 6894 | ||
6895 | int status_stats_size; | 6895 | int status_stats_size; |