mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
3d64ea387c
As Arnd Bergmann pointed out in commit 78fe8a28fb
("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>
15 lines
323 B
Makefile
15 lines
323 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-$(CONFIG_NET_DSA_SJA1105) += sja1105.o
|
|
|
|
sja1105-objs := \
|
|
sja1105_spi.o \
|
|
sja1105_main.o \
|
|
sja1105_ethtool.o \
|
|
sja1105_clocking.o \
|
|
sja1105_static_config.o \
|
|
sja1105_dynamic_config.o \
|
|
|
|
ifdef CONFIG_NET_DSA_SJA1105_PTP
|
|
sja1105-objs += sja1105_ptp.o
|
|
endif
|