summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-12-21 02:16:10 -0800
committerJoe Perches <joe@perches.com>2010-12-21 02:16:10 -0800
commit215faf9c5f6e319e97edea9e178123e07825c14d (patch)
tree32fb283f64110ad634a37dc2e133cb91a97988c5 /drivers/net/can/sja1000
parent75a84eb5d144dc761e1bb0f7dcacbf2b5cee562c (diff)
downloadblackbird-op-linux-215faf9c5f6e319e97edea9e178123e07825c14d.tar.gz
blackbird-op-linux-215faf9c5f6e319e97edea9e178123e07825c14d.zip
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/can/sja1000')
-rw-r--r--drivers/net/can/sja1000/plx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/plx_pci.c b/drivers/net/can/sja1000/plx_pci.c
index 437b5c716a24..231385b8e08f 100644
--- a/drivers/net/can/sja1000/plx_pci.c
+++ b/drivers/net/can/sja1000/plx_pci.c
@@ -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);
OpenPOWER on IntegriCloud