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>
This commit is contained in:
Joe Perches
2010-12-21 02:16:10 -08:00
parent 75a84eb5d1
commit 215faf9c5f
19 changed files with 84 additions and 65 deletions

View File

@@ -383,7 +383,7 @@ static void plx_pci_reset_marathon(struct pci_dev *pdev)
{
void __iomem *reset_addr;
int i;
int reset_bar[2] = {3, 5};
static const int reset_bar[2] = {3, 5};
plx_pci_reset_common(pdev);