fix exported symbol for stmmac 6.12
This commit is contained in:
parent
5e060a5d7e
commit
d75234c4e1
|
|
@ -329,5 +329,5 @@ enum rtc_control {
|
|||
#define GMAC_MMC_RX_CSUM_OFFLOAD 0x208
|
||||
#define GMAC_EXTHASH_BASE 0x500
|
||||
|
||||
extern const struct stmmac_dma_ops dwmac1000_dma_ops;
|
||||
extern const struct stmmac_dma_ops ec_dwmac1000_dma_ops;
|
||||
#endif /* __DWMAC1000_H__ */
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ static void dwmac1000_rx_watchdog(struct stmmac_priv *priv,
|
|||
writel(riwt, ioaddr + DMA_CHAN_RX_WATCHDOG(queue));
|
||||
}
|
||||
|
||||
const struct stmmac_dma_ops dwmac1000_dma_ops = {
|
||||
const struct stmmac_dma_ops ec_dwmac1000_dma_ops = {
|
||||
.reset = dwmac_dma_reset,
|
||||
.init_chan = dwmac1000_dma_init_channel,
|
||||
.init_rx_chan = dwmac1000_dma_init_rx,
|
||||
|
|
@ -296,4 +296,3 @@ const struct stmmac_dma_ops dwmac1000_dma_ops = {
|
|||
.get_hw_feature = dwmac1000_get_hw_feature,
|
||||
.rx_watchdog = dwmac1000_rx_watchdog,
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(dwmac1000_dma_ops);
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ static const struct stmmac_hwif_entry {
|
|||
.mmc_off = MMC_GMAC3_X_OFFSET,
|
||||
},
|
||||
.desc = NULL,
|
||||
.dma = &dwmac1000_dma_ops,
|
||||
.dma = &ec_dwmac1000_dma_ops,
|
||||
.mac = &dwmac1000_ops,
|
||||
.hwtimestamp = &stmmac_ptp,
|
||||
.mode = NULL,
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ struct stmmac_regs_off {
|
|||
extern const struct stmmac_ops dwmac100_ops;
|
||||
extern const struct stmmac_dma_ops dwmac100_dma_ops;
|
||||
extern const struct stmmac_ops dwmac1000_ops;
|
||||
extern const struct stmmac_dma_ops dwmac1000_dma_ops;
|
||||
extern const struct stmmac_dma_ops ec_dwmac1000_dma_ops;
|
||||
extern const struct stmmac_ops dwmac4_ops;
|
||||
extern const struct stmmac_dma_ops dwmac4_dma_ops;
|
||||
extern const struct stmmac_ops dwmac410_ops;
|
||||
|
|
|
|||
Loading…
Reference in New Issue