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>
This commit is contained in:
parent
8ee17ae68c
commit
cadb7924b1
10 changed files with 13 additions and 13 deletions
|
|
@ -235,9 +235,9 @@ struct mii_regs {
|
|||
};
|
||||
|
||||
struct mac_device_info {
|
||||
struct stmmac_ops *mac;
|
||||
struct stmmac_desc_ops *desc;
|
||||
struct stmmac_dma_ops *dma;
|
||||
const struct stmmac_ops *mac;
|
||||
const struct stmmac_desc_ops *desc;
|
||||
const struct stmmac_dma_ops *dma;
|
||||
struct mii_regs mii; /* MII register Addresses */
|
||||
struct mac_link link;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue