aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/dwmac100.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-13 10:51:25 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-16 14:13:25 -0400
commitcadb7924b10b2a3117dafe14d6d6d28035ec4ddb (patch)
treed0f233d5868f2cde80bf60c13b390182f98894ea /drivers/net/stmmac/dwmac100.h
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.h')
-rw-r--r--drivers/net/stmmac/dwmac100.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/dwmac100.h b/drivers/net/stmmac/dwmac100.h
index 97956cbf1cb4..7c6d857a9cc7 100644
--- a/drivers/net/stmmac/dwmac100.h
+++ b/drivers/net/stmmac/dwmac100.h
@@ -118,4 +118,4 @@ enum ttc_control {
118#define DMA_MISSED_FRAME_OVE_M 0x00010000 /* Missed Frame Overflow */ 118#define DMA_MISSED_FRAME_OVE_M 0x00010000 /* Missed Frame Overflow */
119#define DMA_MISSED_FRAME_M_CNTR 0x0000ffff /* Missed Frame Couinter */ 119#define DMA_MISSED_FRAME_M_CNTR 0x0000ffff /* Missed Frame Couinter */
120 120
121extern struct stmmac_dma_ops dwmac100_dma_ops; 121extern const struct stmmac_dma_ops dwmac100_dma_ops;