diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-06-26 01:39:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-27 20:03:21 +0200 |
commit | 3d64ea387cc3ba884f9d2b5c41a8625d48deb933 (patch) | |
tree | f619e80b1a84d641fe3ee5c152847de3458c5b55 /drivers/net/dsa/sja1105/sja1105_static_config.c | |
parent | Merge branch 'net-dsa-microchip-Convert-to-regmap' (diff) | |
download | linux-3d64ea387cc3ba884f9d2b5c41a8625d48deb933.tar.xz linux-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_static_config.c')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105_static_config.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_static_config.c b/drivers/net/dsa/sja1105/sja1105_static_config.c index 58f273eaf1ea..242f001c59fe 100644 --- a/drivers/net/dsa/sja1105/sja1105_static_config.c +++ b/drivers/net/dsa/sja1105/sja1105_static_config.c @@ -35,7 +35,6 @@ void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) } dump_stack(); } -EXPORT_SYMBOL_GPL(sja1105_pack); void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) { @@ -53,7 +52,6 @@ void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) start, end); dump_stack(); } -EXPORT_SYMBOL_GPL(sja1105_unpack); void sja1105_packing(void *buf, u64 *val, int start, int end, size_t len, enum packing_op op) @@ -76,7 +74,6 @@ void sja1105_packing(void *buf, u64 *val, int start, int end, } dump_stack(); } -EXPORT_SYMBOL_GPL(sja1105_packing); /* Little-endian Ethernet CRC32 of data packed as big-endian u32 words */ u32 sja1105_crc32(const void *buf, size_t len) |