diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-06-26 02:39:33 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-27 11:03:21 -0700 |
commit | 3d64ea387cc3ba884f9d2b5c41a8625d48deb933 (patch) | |
tree | f619e80b1a84d641fe3ee5c152847de3458c5b55 /drivers/net/dsa/sja1105/sja1105_spi.c | |
parent | Merge branch 'net-dsa-microchip-Convert-to-regmap' (diff) | |
download | linux-dev-3d64ea387cc3ba884f9d2b5c41a8625d48deb933.tar.xz linux-dev-3d64ea387cc3ba884f9d2b5c41a8625d48deb933.zip |
net: dsa: sja1105: Build PTP support in main DSA driver
As Arnd Bergmann pointed out in commit 78fe8a28fb96 ("net: dsa: sja1105:
fix ptp link error"), there is no point in having PTP support as a
separate loadable kernel module.
So remove the exported symbols and make sja1105.ko contain PTP support
or not based on CONFIG_NET_DSA_SJA1105_PTP.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_spi.c')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105_spi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_spi.c b/drivers/net/dsa/sja1105/sja1105_spi.c index f7e51debb930..84dc603138cf 100644 --- a/drivers/net/dsa/sja1105/sja1105_spi.c +++ b/drivers/net/dsa/sja1105/sja1105_spi.c @@ -100,7 +100,6 @@ int sja1105_spi_send_packed_buf(const struct sja1105_private *priv, return 0; } -EXPORT_SYMBOL_GPL(sja1105_spi_send_packed_buf); /* If @rw is: * - SPI_WRITE: creates and sends an SPI write message at absolute @@ -136,7 +135,6 @@ int sja1105_spi_send_int(const struct sja1105_private *priv, return rc; } -EXPORT_SYMBOL_GPL(sja1105_spi_send_int); /* Should be used if a @packed_buf larger than SJA1105_SIZE_SPI_MSG_MAXLEN * must be sent/received. Splitting the buffer into chunks and assembling |