aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2017-02-08 09:31:07 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-08 15:11:22 -0500
commit6a2cac549b368960c9cd6a993f2f2cc6d720e935 (patch)
tree6e48a1b29ade1c81dd8bb541053eb52a10c238a7 /include/linux/stmmac.h
parentnet: stmmac: fix the typo on MAC_RNABLE_RX (diff)
downloadlinux-dev-6a2cac549b368960c9cd6a993f2f2cc6d720e935.tar.xz
linux-dev-6a2cac549b368960c9cd6a993f2f2cc6d720e935.zip
net: stmmac: Remove the bus_setup function pointer
The bus_setup function pointer is not used at all, this patch remove it. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index d76033d6726d..fc273e9d5f67 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -134,7 +134,6 @@ struct plat_stmmacenet_data {
int tx_fifo_size;
int rx_fifo_size;
void (*fix_mac_speed)(void *priv, unsigned int speed);
- void (*bus_setup)(void __iomem *ioaddr);
int (*init)(struct platform_device *pdev, void *priv);
void (*exit)(struct platform_device *pdev, void *priv);
void *bsp_priv;