summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qualcomm/qca_spi.h
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2017-05-29 14:57:13 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-30 20:57:28 +0300
commit0324e75db24bb99c6b7e096d84f273429eb94163 (patch)
tree66b6267523617f1df163c22cfedd6cfd0f53a78d /drivers/net/ethernet/qualcomm/qca_spi.h
parent00bc2e49e7bfd499ee925f552155c328d765bf8a (diff)
downloadlinux-0324e75db24bb99c6b7e096d84f273429eb94163.tar.xz
net: qualcomm: use net_device_ops instead of direct call
There is no need to export qcaspi_netdev_open and qcaspi_netdev_close because they are also accessible via the net_device_ops. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/qca_spi.h')
-rw-r--r--drivers/net/ethernet/qualcomm/qca_spi.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qualcomm/qca_spi.h b/drivers/net/ethernet/qualcomm/qca_spi.h
index 6e31a0e744a4..064853ddd678 100644
--- a/drivers/net/ethernet/qualcomm/qca_spi.h
+++ b/drivers/net/ethernet/qualcomm/qca_spi.h
@@ -108,7 +108,4 @@ struct qcaspi {
u16 burst_len;
};
-int qcaspi_netdev_open(struct net_device *dev);
-int qcaspi_netdev_close(struct net_device *dev);
-
#endif /* _QCA_SPI_H */