diff options
author | Michael Chan <mchan@broadcom.com> | 2009-08-21 16:20:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-22 17:48:54 -0700 |
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 { int pm_cap; int pcix_cap; - struct flash_spec *flash_info; + const struct flash_spec *flash_info; u32 flash_size; int status_stats_size; |