mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Remove the hwptp abstraction and associated callbacks from the struct xgbe_hw_if {}. The callback structure was only ever assigned a single function, without null checks. This cleanup inlines the logic and moves all the hwtstamp realted code a separate file, improving readability and maintainance. Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com> Link: https://patch.msgid.link/20250718185628.4038779-2-Raju.Rangoju@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
12 lines
395 B
Makefile
12 lines
395 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_AMD_XGBE) += amd-xgbe.o
|
|
|
|
amd-xgbe-objs := xgbe-main.o xgbe-drv.o xgbe-dev.o \
|
|
xgbe-desc.o xgbe-ethtool.o xgbe-mdio.o \
|
|
xgbe-hwtstamp.o xgbe-ptp.o \
|
|
xgbe-i2c.o xgbe-phy-v1.o xgbe-phy-v2.o \
|
|
xgbe-platform.o
|
|
|
|
amd-xgbe-$(CONFIG_PCI) += xgbe-pci.o
|
|
amd-xgbe-$(CONFIG_AMD_XGBE_DCB) += xgbe-dcb.o
|
|
amd-xgbe-$(CONFIG_DEBUG_FS) += xgbe-debugfs.o
|