summaryrefslogtreecommitdiff
path: root/drivers/net/stmmac/dwmac100_core.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-13 14:51:25 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-16 11:13:25 -0700
commitcadb7924b10b2a3117dafe14d6d6d28035ec4ddb (patch)
treed0f233d5868f2cde80bf60c13b390182f98894ea /drivers/net/stmmac/dwmac100_core.c
parent8ee17ae68c0f1e281a432a4318fa2511e25c9492 (diff)
stmmac: make function tables const
These tables only contain function pointers. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/dwmac100_core.c')
-rw-r--r--drivers/net/stmmac/dwmac100_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/dwmac100_core.c b/drivers/net/stmmac/dwmac100_core.c
index 94eeccf3a8a0..c724fc36a24f 100644
--- a/drivers/net/stmmac/dwmac100_core.c
+++ b/drivers/net/stmmac/dwmac100_core.c
@@ -168,7 +168,7 @@ static void dwmac100_pmt(void __iomem *ioaddr, unsigned long mode)
return;
}
-struct stmmac_ops dwmac100_ops = {
+static const struct stmmac_ops dwmac100_ops = {
.core_init = dwmac100_core_init,
.rx_coe = dwmac100_rx_coe_supported,
.dump_regs = dwmac100_dump_mac_regs,