diff options
author | Joe Perches <joe@perches.com> | 2010-12-21 05:16:10 -0500 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2010-12-21 05:16:10 -0500 |
commit | 215faf9c5f6e319e97edea9e178123e07825c14d (patch) | |
tree | 32fb283f64110ad634a37dc2e133cb91a97988c5 /drivers/net/cxgb3/t3_hw.c | |
parent | 75a84eb5d144dc761e1bb0f7dcacbf2b5cee562c (diff) |
drivers/net/*/: Use static const
Using static const generally increases object text and decreases data size.
It also generally decreases overall object size.
Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/net/cxgb3/t3_hw.c')
-rw-r--r-- | drivers/net/cxgb3/t3_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c index 3a6adf0b3e9d..ec8579a0a808 100644 --- a/drivers/net/cxgb3/t3_hw.c +++ b/drivers/net/cxgb3/t3_hw.c | |||
@@ -1562,7 +1562,7 @@ static void tp_intr_handler(struct adapter *adapter) | |||
1562 | {0} | 1562 | {0} |
1563 | }; | 1563 | }; |
1564 | 1564 | ||
1565 | static struct intr_info tp_intr_info_t3c[] = { | 1565 | static const struct intr_info tp_intr_info_t3c[] = { |
1566 | {0x1fffffff, "TP parity error", -1, 1}, | 1566 | {0x1fffffff, "TP parity error", -1, 1}, |
1567 | {F_FLMRXFLSTEMPTY, "TP out of Rx pages", -1, 1}, | 1567 | {F_FLMRXFLSTEMPTY, "TP out of Rx pages", -1, 1}, |
1568 | {F_FLMTXFLSTEMPTY, "TP out of Tx pages", -1, 1}, | 1568 | {F_FLMTXFLSTEMPTY, "TP out of Tx pages", -1, 1}, |